Hello, while we're "on the subject" I want to say that I've used 6 I/O pins (4 on PORTB and the 2 XTAL pins) on a PIC16F628 to light 8 LEDs. I've multiplexed the 8 LEDS with 4 470R resistor on the 6 pins without burning anything. When all LEDs (PORTB pins to resistors to anodes) are on, I have (5-1.7)/470=7.021mA on each PORTB pin and 7.021x4=28.09mA on each XTAL pin (RA6, RA7). As RA6 and RA7 are on for 50% of the time, it does have sufficient time to recover from the high current. No damaged pin untill now. Best regards, Brusque ----------------------------------------------------------------- Edson Brusque C.I.Tronics Lighting Designers Ltda Researcher and Developer Blumenau - SC - Brazil Say NO to HTML mail www.citronics.com.br ----------------------------------------------------------------- -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body