Skip to content

Instantly share code, notes, and snippets.

@9600
9600 / hd44780-i2c.c.patch
Created April 17, 2014 14:35
Patch to LCDproc-0.5.5 for use with common/Sainsmart/eBay HD44780+PCF8574 (I2C) 16x02 LCD modules.
--- hd44780-i2c.c.orig 2010-12-27 13:32:57.000000000 +0000
+++ lcdproc-0.5.5/server/drivers/hd44780-i2c.c 2014-04-17 14:10:24.455061114 +0000
@@ -76,10 +76,10 @@
void i2c_HD44780_backlight(PrivateData *p, unsigned char state);
void i2c_HD44780_close(PrivateData *p);
-#define RS 0x10
-#define RW 0x20
-#define EN 0x40
-#define BL 0x80
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.