In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote: [quote="Three of Them"] ...are 7 LED's. They are colored and timed in accordence with a traffic light. They draw about 20ma each. The resistor across them is 470 ohms. Whoa! Whoa! Resistor across them? No, no, no. The resistor should be in series with the LED (output pin, resistor, LED, ground.) If you have 20mA through/from an output, it's because the only thing limiting current is the LED and the output's limit (which isn't infinite.) The SX has nominal 5V outputs, so with a 470 ohm resistor the nominal current through each LED should be around 6mA.[/quote] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=117087#m117115 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)