Mon, 18 May 2015 21:19:06 +0200
Version 0.3.3, still not for production. Fixed warnings when the simulator code is compiled. Slowed the simulator air temperature change 60 times. More realistic temperature changes for the heater and cooler elements. Improved logic in the simulator.
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 |