I've been working on a transmitter using my MEGA board, and the code has been compiling fine with arduino 0018.
Now, yesterday, I upgraded to 0019, and since then, I can not get my code to compile untill I comment out the line that sets up the analog Ref. :-?
Serial.begin(9600); //Init. Comm
analogReference(INTERNAL); //Internal Reference = 1.1V (2.56V on MEGA)
pinMode(temp_AN,INPUT); //Set Analog inputs
pinMode(rp ,OUTPUT); //Set Outputs
That's the chunk that's causing me problems, won't do a thing untill I comment out the analogRef line, keeps giving me:
node_take1.cpp: In function 'void setup()':
node_take1:47: error: 'INTERNAL' was not declared in this scope
Only thing I have noticed is that line 47 actually is the Serial.begin(9600);
Line 48 would be the analogRef...