REPORT PRACTICE 4 NATALIA GALÁN
REPORT PRACTICE 4 NATALIA GALÁN By Natalia Galán Jiménez 3ºF DESCRIPTION We are going to make a circuit function like a traffic light. And the challenge consists of making the yellow LED flash. DESIGN List of materials Circuits.io Bill Of Materials IDS # Footprint U1 1 Arduino Uno R3 D1, D4 2 OSRAM-MINI-TOP-LED D2 1 OSRAM-MINI-TOP-LED D3, D5 2 OSRAM-MINI-TOP-LED R1, R2, R3, R4, R5 5 Resistor 1/4 Watt 220 R6 1 Resistor 1/4 Watt 10K S1 1 TACTILE-PTH Breadboard diagram Schematics Program code // Declaramos las constantes asociando el pin a cada LED y pulsador const int LEDPinGREENPEDESTRIAN = 3; const int LEDPinREDPEDESTRIAN = 4; const int buttonPin = 6; const int LEDPinGREENVEHICLE = 10; const int LEDPinYELLOWVEHICLE = 11; const int LEDPinREDVEHICLE= 12; int buttonState = 0; // Declaramos la vari...