Mon, 09 Mar 2015 09:42:18 +0100
Added the README
106 | 1 | #ifndef LCD_PCF8574_H |
2 | #define LCD_PCF8574_H | |
3 | ||
4 | ||
5 | #ifdef HAVE_WIRINGPI_H | |
6 | ||
7 | // Defines for the pcf8574 Pi LCD interface board | |
8 | #define AF_BASE 100 | |
9 | ||
10 | #define AF_RS (AF_BASE + 0) | |
11 | #define AF_RW (AF_BASE + 1) | |
12 | #define AF_E (AF_BASE + 2) | |
13 | #define AF_BACKLIGHT (AF_BASE + 3) | |
14 | #define AF_DB4 (AF_BASE + 4) | |
15 | #define AF_DB5 (AF_BASE + 5) | |
16 | #define AF_DB6 (AF_BASE + 6) | |
17 | #define AF_DB7 (AF_BASE + 7) | |
18 | ||
19 | void setBacklight (int); | |
20 | int initLCD (int, int); | |
21 | ||
22 | #endif | |
23 | ||
24 | #endif |