On Sun, 23 Jul 2000 12:17:00 -0400, you wrote: >At 11:05 AM 7/23/00 +0200, you wrote: >>Fredrik Selin wrote: > > >>Use pin 8 as a counter pulse to drive a ring counter such as a 4017 (I >>think). The output from the counter drives the common of each segment. >>Each counter pulse will switch on the next output, output 5 will reset >>counter back to one. > >This works if you reliably reset the ring counter and never, ever lose >synch between the external counter and it's shadow counter inside the = PIC. > >A better way might be to feed short pulses to the clock input, and RC >filter the clock ouptut to a RESET input on the counter. That way >a short pulse will clock the counter and a longer one will reset it. How about a 4-bit shift register, clocked from the 8th pin. Data could come from one of the segment lines.=20 ..or you could use a 4-bit latch, again taking data from the segment lines and clocking from the 8th pin.=20 In the Microchip app notes there's an app driving two 7-seg displays, a buzzer and a couple of buttons from a 12C508! -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.