Files
lcdproc/server/drivers/hd44780-bwct-usb.h
T
marschap e6c4b71ff0 harmonize backingstroe name with other drivers; don't force connection type
drivers to define nop-like functions for features they don't support
2007-11-04 13:25:54 +00:00

26 lines
640 B
C

#ifndef HD_BWCT_USB_H
#define HD_BWCT_USB_H
#include "lcd.h" /* for Driver */
#include "hd44780-low.h"
/* 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 ""
// initialise this particular driver
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_set_contrast(Driver *drvthis, int promille);
void bwct_usb_HD44780_close(PrivateData *p);
#endif