View Full Version : Traffic Light Model
08-12-2005, 06:19 PM
There is a traffic light model (Volume 1, Column 26) but how can I create the circuit on the Home Work Board?
08-12-2005, 07:12 PM
Yes, yes, yes. It's easy to make but difficult to programm.
If am I right it is writen in PBasic 1.0. You have to convert it!!!
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--
08-12-2005, 09:13 PM
The circuit uses LEDs with 1k resistors, since the Homework board has built in 220ohm resistors on the·I/O pins·I would change out the 1k resistors for ·470ohm resistors.· Since the LEDs are polarity sensitive you need to connect it as shown in figure 26.2.
08-13-2005, 04:27 AM
Dave, Thanks for helping me create the circuit for the traffic light model. Here's the code:
DEBUG "Traffic Light Model"
08-13-2005, 04:33 AM
I take it that everything is working okay?
08-13-2005, 05:33 AM
Everything is working OK. I had to edit the code so that the traffic light works properly.