This tutorial will show you how to control the pins of the parallel port of your PC on Linux from within a small C program. In this example, we switch just a few LED's on and off, but the same technology can be used to control relays to switch devices with high power consumption on and off for home automation.
↧