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 -1
View File
@@ -148,7 +148,7 @@ lcd2usb_HD44780_backlight(PrivateData *p, unsigned char state)
/* get backlight brightness */
int promille = (state == BACKLIGHT_ON) ? p->brightness : p->offbrightness;
p->hd44780_functions->drv_report(RPT_INFO, "lcd2usb_HD44780_backlight: Setting backlight to %d", promille);
p->hd44780_functions->drv_debug(RPT_DEBUG, "lcd2usb_HD44780_backlight: Setting backlight to %d", promille);
/* and set it (converted from [0,1000] -> [0,255]) */
if (usb_control_msg(p->usbHandle, USB_TYPE_VENDOR, LCD2USB_SET_BRIGHTNESS,