[previous] [index] [next]

Example 9: Displaying Messages on an LED Wand Clock

This example demonstrates the application of tasking, FIFOs and interrupt service routines to the display of messages on a Fantazein® LED wand clock.

Information on the stock clock is at www.fantazein.com

You'll need to hack into it and do a bunch of rewiring to connect it to the parallel port.

Read these instructions to hack the clock and void your warrantee.

Principle of Operation

Running the Demo

To run the demo, change to the 'ex09_ledclock' subdirectory of the top-level tutorial directory, and run the 'run' script by typing
./run
Alternatively, change to the top-level tutorial directory and run the 'runall' script there by typing
./runall
and selecting the "LED Clock" button.

Type in messages, which are then displayed banner-like on the wand clock. RETURN clears the messages, CTRL-C stops the demo.

See the Real-Time Task Code

See the Linux Application Code


Next: Example 10, Determining Stack Size

Back: Example 8, RC Airplane Servomotor Control