Thu, 02 May 2024 15:49:16 +0200
Version 0.9.19b3. The simulator thread can be paused to be able to add and delete simulators. Added simulated door and PSU status. Devices can now fully use multiple simulators. Better rounding of simulated temperature values. The server SIMULATOR DEL and ADD commands pause the simulator when the linked list is manipulated. Fixed SIGSEGV when a simulator is added. Added socket SO_REUSEADDR again to the server socket.
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 | ||
420
644a6106d712
The first ideas of the brewpanel simulation are in place.
Michiel Broek <mbroek@mbse.eu>
parents:
223
diff
changeset
|
19 | #endif |
644a6106d712
The first ideas of the brewpanel simulation are in place.
Michiel Broek <mbroek@mbse.eu>
parents:
223
diff
changeset
|
20 | |
426
e54611453d29
Moved global bit defines to config.h
Michiel Broek <mbroek@mbse.eu>
parents:
420
diff
changeset
|
21 | void setBacklight (int); |
106 | 22 | int initLCD (int, int); |
23 | ||
420
644a6106d712
The first ideas of the brewpanel simulation are in place.
Michiel Broek <mbroek@mbse.eu>
parents:
223
diff
changeset
|
24 | |
106 | 25 | #endif |