On Wed, May 07, 2003 at 12:42:16AM -0500, Picdude wrote: > > > > If you do, you'll probably need to change your display loop to update > > TRISB instead of PORTB. I found that 1 transistor drop (from the PNP) > > was higher than the "on" output of the PIC pins driving the segments, > > so that trying to drive segments I wanted off actually turned them on > > verry faintly. > > Not sure what you mean here. Why TRISB? I'm assuming the OC output will > float itself when "off" (high), TRIS*B*, for your segments. If you change to common anode. Because: [PIC pin HIGH>---/\/\/----|<----[PNP collector]...[VCC] will faintly light the segment. At least it did when I made the same change. If you switch between off/hi-z you get "bright" and "dark" but off/on gives you "bright" and "very faint". -- Ben Jackson http://www.ben.com/ -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads