Hi Everyone
I am a little confused as to whether I have to call pinMode for the analog pins or not. I see it being called for the analog inputs in the example python files, for example:
sound sensor
If I am supposed to call pinMode for analog as well as digital, how does the grovepi know the difference between:
pinMode(2, “INPUT”) # when I mean the A2 pin
and
pinMode(2, “INPUT”) # when I mean the D2 pin.
Thanks in advance for any clarity on this for me.