Recently I sent an article to ActiveDelphi… and what a great surprise… the article was selected to be in the cover of this month edition!!!!
In the article I show some Digital Electronics basics and how this knowledge is related to PC parallel port communication… I used the inpout32dll.dll to communicate with the port and show how to “write bits” in order to light up some LEDs or other low power DC devices… I also showed how to go a little bit further and use relays to activate AC devices in your room or office such as lamps and air-conditioners.
The article may be considered as an introduction to Automation as it covers all the basics of the electronics and software necessary to implement PC based solutions. The Delphi source code presented in the article is available for download.