-----Original Message----- From: Fredrik Selin |Hi everyone!! Hi Fredrik, |I4m building a clock using four 7-segment LED displays and I4ve got only PORTB |(8 ports) aviable for the displays. Any ideas how to control the displays??? Multiplex it; Use 4 port pins to output the actual number in BCD, and the other 4 to enable one display at a time, through 4 BJT's driving each common wire. Also you'll need a BCD-to-7 segment decoder. Best Regards, S.- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.