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:
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
pinMode(2, “INPUT”) # when I mean the D2 pin.
Thanks in advance for any clarity on this for me.