int valor=0;
int i=0;
float media=0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("Hola mundo");
}
void loop() {
// put your main code here, to run repeatedly:
valor = valor + 1;
if (valor > 20)
{
valor = 0;
}
Serial.print(valor);
Serial.println(" segundos");
delay(1000);
}