Hey all ok I want to use Analog pins as Digital. So i tried to use Analog Alice ... but that did not work i'm getting compilation error
ex:
int SensorPin = A0;
returans following error: error: 'A0' was not declared in this scope
Any help?
TNX!
Hey all ok I want to use Analog pins as Digital. So i tried to use Analog Alice ... but that did not work 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 nice
i also found thar A0 is added in build 22 and i was running 18
so now i have 2 solutions
tnx!