#define ANALOG_IN 0
void setup() {
Serial.begin(19200);
analogReference(INTERNAL);
}
void loop() {
int val = analogRead(ANALOG_IN);
Serial.print(0xff, byte);
Serial.print( (val >> 8) & 0xff, byte);
Serial.print( val & 0xff, byte);
}
This is my code and I'm getting this error for all 3 Serial.print commands. Please help.