With the ThinkerCad software design the circuit and emulate the arduino board | SoloLearn: Learn to code for FREE!

+1

With the ThinkerCad software design the circuit and emulate the arduino board

Left traffic light for cars and right traffic light for pedestrians. TinkerCad is free only make login. https://www.tinkercad.com/things/2wlwuBglXXl-trafficlight /************************************************************************** * Design of a traffic light for cars and pedestrians ***************************************************************************/ #define PEDESTREVERDE 9 #define PEDESTREVERMELHO 10 #define CARROVERDE 11 #define CARROAMARELO 12 #define CARROVERMELHO 13 void setup(){ // Configura os pinos dos LEDs como saída pinMode(PEDESTREVERDE, OUTPUT); // LED verde pedestres pinMode(PEDESTREVERMELHO, OUTPUT); // LED vermelho pedestres pinMode(CARROVERDE, OUTPUT); // LED verde carro pinMode(CARROAMARELO, OUTPUT); // LED amarelo carro pinMode(CARROVERMELHO, OUTPUT); // LED vermelho carro } void loop(){ // CARRO aberto: apag

4/22/2020 8:55:53 AM

Alexandre Borgmann

0 Answers

New Answer