Welcome to my personal webpage.     |   home
back to  Mirocontrollers     next   up down
Time-Division Multiplexing
Program Description :   The program we wrote was to be used in the implementation of a toy clown's eyes.  The eyes would consist of a 7-segment LED display, and would do one of four different actions depending on the input read from a dipswitch attached to port C.  The various actions the eyes did were:

rolling clockwise
counterclockwise
cross-eyed roll
alternating winking
.  
   The LED was connected to port B and pin 7 of port C and time division multiplexing was used to access each of the two 7-segment LED's.  The program continued to execute the specific eye movement until a new one was entered on the dipswitch.  It then continued this process in an infinite loop until it was manually reset.

 TDM code  /  TDM schematics  /  Flowcharts