hello good morning could someone help me and tell me where is my mistake?
int conta = 0;
int tiempo = 0;
void setup() {
Serial.begin(9600);
pinMode(7,INPUT);
pinMode(13,OUTPUT);
}
void loop() {
if(digitalRead(7) == HIGH )
{
if ( digitalRead(7) == LOW )
{
for(int i = 5 ; i <= tiempo;i--)
{
if(digitalRead(7) == HIGH )
{
if ( digitalRead(7) == LOW )
{
i = i + 5;
}
}
Serial.println(i);
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
}
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
}
}