
So here’s what I am trying to achieve when the ultrasonic sensor detects a distance less than a certain amount then the light should turn green allowing the traffic to move Here’s the code int pir = 2; int rojo = 12; int amarillo = 11; int verde = 10; int led = 3; const ..
Recent Comments