Hi!
I'm trying to build a "remote-control" to my software (written in Delphi 6) with a LCD display, some keys and a LED.
What I want is:
When I press a button (on my circuit) I read that value from the LPT port and start a process in my application. The application now shows some info on the LCD (via LPT) and a LED should light.
And when I press another button, the process will stop and the LED goes off.
The buttons and LCD is working. How I write/read to/from LPT is not a problem. It is just how I should wire the hardware so I also (with some code) can light up an LED.
To light up a led without having an LCD connected at the same port is easy but because the LCD uses all the data-pins (2-9) of the LPT there is a huge problem (for me).
Schematics for the LCD and buttons that I use (not made by me) :
http://mitglied.lycos.de/MASE5/linux/lcdenglish/lcd-mit-tastatur-harware.html
I also found the attached jpg on the web... Is this useful?
View attachment 35642
I'm trying to build a "remote-control" to my software (written in Delphi 6) with a LCD display, some keys and a LED.
What I want is:
When I press a button (on my circuit) I read that value from the LPT port and start a process in my application. The application now shows some info on the LCD (via LPT) and a LED should light.
And when I press another button, the process will stop and the LED goes off.
The buttons and LCD is working. How I write/read to/from LPT is not a problem. It is just how I should wire the hardware so I also (with some code) can light up an LED.
To light up a led without having an LCD connected at the same port is easy but because the LCD uses all the data-pins (2-9) of the LPT there is a huge problem (for me).
Schematics for the LCD and buttons that I use (not made by me) :
http://mitglied.lycos.de/MASE5/linux/lcdenglish/lcd-mit-tastatur-harware.html
I also found the attached jpg on the web... Is this useful?
View attachment 35642
Last edited by a moderator: