support for contrast & brightness: now get_*() only, but prepare for set_*()
This commit is contained in:
@@ -38,6 +38,10 @@ MODULE_EXPORT int HD44780_icon(Driver *drvthis, int x, int y, int icon);
|
||||
MODULE_EXPORT void HD44780_set_char(Driver *drvthis, int n, unsigned char *dat);
|
||||
MODULE_EXPORT int HD44780_get_free_chars(Driver *drvthis);
|
||||
|
||||
MODULE_EXPORT int HD44780_get_contrast(Driver *drvthis);
|
||||
//MODULE_EXPORT void HD44780_set_contrast(Driver *drvthis, int promille);
|
||||
MODULE_EXPORT int HD44780_get_brightness(Driver *drvthis, int state);
|
||||
//MODULE_EXPORT void HD44780_set_brightness(Driver *drvthis, int state, int promille);
|
||||
MODULE_EXPORT void HD44780_backlight(Driver *drvthis, int on);
|
||||
MODULE_EXPORT void HD44780_output(Driver *drvthis, int state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user