Is there a different designation of digital vs. analog pins? There are A2 and D2. So how does it know which one to use.
analog0~5 are digital14~19
so digitalRead(14) reads from the same pin as analogRead(0) would.
Is there a different designation of digital vs. analog pins? There are A2 and D2. So how does it know which one to use.
analog0~5 are digital14~19
so digitalRead(14) reads from the same pin as analogRead(0) would.