Hello
Im a bit of a noob myself but..
"int analogPin = 2; // connected to analog pin 2"
On the Uno I thought Analog Pin 2 was represented by A2 in the compiler, the digital pins are 0-13, The Analogs being A0, A1, A2, etc
Hello
Im a bit of a noob myself but..
"int analogPin = 2; // connected to analog pin 2"
On the Uno I thought Analog Pin 2 was represented by A2 in the compiler, the digital pins are 0-13, The Analogs being A0, A1, A2, etc