Saludos y gracias de antemanos, soy nuevo programando, ya corregi algunos errores, pero este error me sigue apareciendo, que
expected ',' or ';' before 'const'
int ValorLDR;
int Valormin = 1023;
int Valormax = 0;
int TCal=5000;
int It=0
const int LEDPin = 13;
void setup() {
pinMode(LEDPin, OUTPUT);
digitalWrite(LEDPin, HIGH);
while (millis() < TCal) {
ValorLDR = analogRead(A0);
if (ValorLDR > Valormax) {
Valormax = ValorLDR;
}
if (ValorLDR < Valormin) {
Valormin = ValorLDR;
}
}
digitalWrite(LEDPin, LOW);
}