Hi,
this simple sketch return an error "id.exe" and "collect2.exe: error: ld returned 5 exit status" if insert last line "delay(200);" Why?
If I remove "delay" no error!
void setup() {
// put your setup code here, to run once:
Serial.begin(19200);
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue = analogRead(A0);
float voltage = sensorValue * (5.03/1023);
Serial.println(voltage,3);
delay(200);
}