My firstīoard (photo below) was not a elegant an clean as the second If you design your own board, you may improvise as you see fit. Deben deĬorrer como si fueran codigos independientes.Īfter "The Challenge", you can start planning about the traffics light programming.ĭespués de "El Desafío", puedes planificar acerca de la programación de las luces del semáforo. Sin que el código de la primera parte afecte al de las luces. Knight Rider (El auto/coche fantastico/increíble según el país) o lasĪhora debe de correr la 1a y 2da parte del desafío en el mismo código Secuencia de luces pulsantes, mejor conocida como las luces del auto de Se presionan los dos pulsadores a la vez, los LEDs empezaran la El último interruptor controla las últimas dos luces.El tercer interruptor conotrolará el LED verde en una posición y la roja en la otra.El segundo pulsador enciende la 2da luz (de color azul) y apaga la amarilla si está encendida.El primer pulsador activa el LED amarillo (y apaga el 2do LED si está encendido).Primera parte del desafío (calentamiento): The first part affecting the running lights code. Program should be able to make the 1st part and the 2nd part of theĬhallenge but on the same code: without the coding for the switches of The Cylon lights from Battlestar Galactica.
Pressing the two push-buttons at the same time the LEDs will perform The last switch will control the last two LED lights (yellow and red).Ģnd part of the challenge (still warming up):.The third switch will control the green LED in one position and the red LED in the other position.Second push button will turn on the 2nd LED light (blue color) and off the yellow LED if it is on.First push button will turn on the yellow light (and turn off the 2nd light if it's on).El Desafío de las Luces e Interruptores.Hay 6 luces LED en la derecha y el cableado del semáforo está diseñado para controlar también 6 luces (2 rojas, 2 verdes y 2 amarillas). La tercera generación de esta tarjeta tiene 5 interruptores diferentes para un máximo de 9 salidas. Hay varias opciones con esta tarjeta: puedes usar las luces de la derecha o las del semáforo.Įsta tarjeta tiene dos pulsadores (normalmente abiertos) y dos interruptores de doble posición (dos salidas por interruptor) para un máximo de 6 salidas. There are six LED lights on the right and the wiring for the traffic light also was designed for also controlling 6 outputs (2 green lights, 2 red, lights and 2 yellow lights).Įl siguiente desafio usará la tarjeta de la imagen de abajo.
The third generation of this board has 5 different switches for a maximum of 9 inputs. This board has 2 push-buttons (normally open) and two switches with two positions (two outputs per switch) for a maximum of six inputs. You can use the lights on the right or the traffic lights. The next challenge will use the board on the image below.