I am trying to upload this simple sketch into my arduino with a shield I made. It takes forever (note I have the right COM port on)
int sensorValue = 0;
void setup(){
Serial.begin(9600);
}
void loop(){
sensorValue = analogRead(A4);
delay(10000000);
Serial.println(sensorValue);
delay(10000000);
}
loop()
, you should use themillis()
function, it should free the MCU for other stuff.