Posts

Showing posts with the label rider

New version of Kitt leds.

Image
Here is the alternate version of the light show resembling Kitt front end demo. First you need to compile lptout.c $ gcc lptout.c -o lptout Create the lightshow.sh shell file $ editor lightshow.sh Make it executable with: $ chmod +x lightshow.sh then you can invoke shell file with with an argument for the speed of the lights. The larger the number, the slower it runs, $ sudo /lightshow.sh .2 You can also use the light show emulator $ ./testshow  .5  ------------------------------------------------------------ lptout.c [code] /*  * Simple parallel port output control program for Linux  * Written and copyright by Tomi Engdahl 1998  * (e-mail: tomi.engdahl@hut.fi)  *  * The program output the data value to PC parallel port data pins  * (default lpt1 I/O address 0x378). The data values are given as the  * command line parameter to the program. The number can be  * in decimal (0..255) or hexadecima...