Vlad, I have similar project - timer. 4 7 segment LEDs. You may see assembler with comments. http://www.radier.ca/pic/pictimer.php Dmitriy -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Vlad Sent: February 9, 2004 3:46 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC:] multiplex 7seg LED with drivers Hello folks, I'm in the process of designing a toy circuit to keep track of life counters for various games. It should support 3 players. Each player will have two 7 segment LED displays that will display a number between 0-99, and also 2 switch buttons that will be used to increase and decrease the number displayed on these LED displays. I have a handful of 16f84 PIC's and currently learning how to program them. With only a limited number of input/output pins on this chip (13 I believe) what would be a good way to allocate these pins for the switch buttons and displays? I have read various articles in the Usenet archives which suggest multiplexing displays, this requires 7 pins for each segment and 1 pin for every other display. I think this will eat up in to all my pins though. Can I use the same multiplexing technique with a single display/driver chip? Any suggestions? Also any thoughts on the switches? This is my first electronics project and PIC programming project (ambitious, yes) Thanks -v -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body