March 28, 2024, 08:24:23 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


HD61202U (LCD with chip) simulator

Started by sapero, July 28, 2008, 08:43:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sapero

July 28, 2008, 08:43:57 AM Last Edit: July 28, 2008, 08:49:49 AM by sapero
HD61202U is a column (segment) driver for dot matrix liquid crystal graphic display systems. It stores
the display data transferred from a 8-bit micro controller in the internal display RAM and generates dot
matrix liquid crystal driving signals.

So, instead connecting LCD controller to your LPT port, try my simulator first :)
The virtual controller resides on LPT ports and waits for exceptions generated while you access these ports directly. This is possible on NT systems.
This project requires Windows XP/Server 2003, because I've used AddVectoredExceptionHandler function, that makes things easier.

All what is needed to control the device you find in example program test.src, the (not included) datasheet and predefined constants in hd61202u.inc.
The example program combines two controllers into one wider device, and uses the CS (chip select) lines to access one device each time.
The left device displays 'A' character, the second 'B'. Both devices are scrolling its content by incrementing the Z register.
Port/line mapping is represented by BUSENUM enumeration.

Not tested with a real controller, because my laptop has no LPT.