Add an option to specify the DDRAM address of the next line.

This allows using the ST7036 controller like found on EA DOG modules.
This commit is contained in:
mmdolze
2009-03-03 20:17:28 +00:00
parent 82c69e7a6e
commit d62a27fac1
7 changed files with 33 additions and 3 deletions
+1
View File
@@ -161,6 +161,7 @@ typedef struct hd44780_private_data {
char have_backlight; // off by default
char have_output; // have extra output port (off by default)
char ext_mode; // use of extended mode required for some weird controllers
int line_address; // address of the next line in ext_mode (linear addressing)
int delayMult; // Delay multiplier for slow displays
char delayBus; // Delay if the computer can send data too fast over
// its bus to LPT port