Hi All,
I am using Xbee USB Adapter kit to wirelessly upload program to arduino Fio. First I tried with LED blink, it was perfect.
Then I tried AnalogReadSerial program as below, then it became unresponsive(I am not able to upload any other program).
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue, DEC);
}
I think its like infinite loop. And due to this I am not able to upload any other program. I tried by pressing reset button,didn’t work.
Any suggestion on how I can proceed.
Thanks in advance