On Sat, 14 Sep 2002, Magnus von Rosen wrote: > The application contains 4 LEDs (3 mm, 20 mA, 2 yellow, 1 red and 1 > white) which need to be turned on and off with the cycle Turned on and off as a group, or one at a time? > In other words, I can't use the PWM? That only works on one pin at a > time, right? Yes, but if you're turning them on and off at the same time you can use the PWM to drive a transistor or MOSFET that controls the current to all LEDs. Dale -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads