> > At 17:02 1998-01-29 -0600, you wrote: > >Assuming the displays are common-anode, you'd use NPN transistors. To drive > >a digit, you set its common wire HIGH, set the appropriate segment wires LOW, > >and let the other lines FLOAT. If you want decimal points, then you can get > >9 digits with 9 I/O pins. > > > Nice and Smart! > We got to have different segment maps for each digit, but thats just > porgramming It's not even that bad. Assuming you have the data for each digit stored in the same format in bits 0..6 of Digit0..Digit7, and assuming the digits are wired correctly, then you can show them with: ShowD0: rlf Dig0,w andlw 0xFE tris PORTB retlw 0 ShowD1: rlf Dig1,w xorwf Dig1,w andlw 0xFC xorwf Dig1,w andlw 0xFD tris PORTB retlw 0 ShowD2: rlf Dig2,w xorwf Dig2,w andlw 0xF8 xorwf Dig2,w andlw 0xFB tris PORTB retlw 0 etc. One routine for each digit, but all digits can use the same character bitmaps.