Hi folks,
Did I have to declare the pinMode (out put or input) in the setup fonction for analog pins ? as I do for digital Pins ?
Why not ?
thank you
albatros
Hi folks,
Did I have to declare the pinMode (out put or input) in the setup fonction for analog pins ? as I do for digital Pins ?
Why not ?
thank you
albatros
albatros:
Hi folks,Did I have to declare the pinMode (out put or input) in the setup fonction for analog pins ? as I do for digital Pins ?
No you do not.
Why not ?
The analogRead() function does it internally when you call it's function. You only need to deal with pinMode statements if you are using the analog pins as digital pins.
Leftythank you
albatros