new ConnectionType lcd2usb in hd44780 driver

This commit is contained in:
marschap
2007-03-31 12:43:27 +00:00
parent 9f70890432
commit 4839321569
12 changed files with 301 additions and 33 deletions
+9 -4
View File
@@ -4,10 +4,14 @@
#include "lcd.h" /* for Driver */
#include "hd44780-low.h"
#define VENDOR_LCD_RESET 1
#define VENDOR_LCD_CMD 2
#define VENDOR_LCD_DATA 3
#define VENDOR_LCD_CONTRAST 4
/* vendor and product id */
#define BWCT_USB_VENDORID 0x03DA
#define BWCT_USB_PRODUCTID 0x0002
#define BWCT_LCD_RESET 1
#define BWCT_LCD_CMD 2
#define BWCT_LCD_DATA 3
#define BWCT_LCD_SET_CONTRAST 4
#define DEFAULT_SERIALNO ""
#define DEFAULT_CONTRAST 300
@@ -18,5 +22,6 @@ int hd_init_bwct_usb(Driver *drvthis);
void bwct_usb_HD44780_senddata(PrivateData *p, unsigned char displayID, unsigned char flags, unsigned char ch);
void bwct_usb_HD44780_backlight(PrivateData *p, unsigned char state);
unsigned char bwct_usb_HD44780_scankeypad(PrivateData *p);
void bwct_usb_HD44780_close(PrivateData *p);
#endif