Analog Aliace (A0 .. A5) Not working :(

Hey all ok I want to use Analog pins as Digital. So i tried to use Analog Alice ... but that did not work :frowning: i'm getting compilation error

ex:

int SensorPin = A0;

returans following error: error: 'A0' was not declared in this scope

Any help?

TNX!

if you want to use A0 as a digital pin its number is 14 etc on an Arduino 328; details see - http://www.arduino.cc/en/Tutorial/AnalogInputPins

oh :slight_smile: nice
i also found thar A0 is added in build 22 and i was running 18 :slight_smile:
so now i have 2 solutions :slight_smile:
tnx!