a María García Ramos 4 éve
241
Még több ilyen
Szerző: Adreliano Martinez
Szerző: eder cifuentes
Szerző: natalia gomez
Szerző: bertha enalvis jimenez moreno
Set pin 5 to LOW
Read ultrasonic distance sensor on tiger
Print to serial monitor with newline
If sensor_val >60
False sensor_val> 40
False sensor_val> 20
True LOW Led5
True LOW Led6
Wait 250ms
True LOW Led7
True LOW leds
APAGAR LedR
LEER SENSOR DISTANCIA
ENVIAR LECTURA AL MONITOR SERIE
DISTANCIA >60
FALSO DISTANCIA >40
FALSO DISTANCIA >20
FALSO ENCENDER SOLO LED ROJA
VERDADERO ENCENDER SOLO LED AMARILLA
ESPERAR 250ms
VERDADERO ENCENDER SOLO LED VERDE
VERDADERO APAGAR LEDES