57 /* xutil.c */ |
62 /* xutil.c */ |
58 char *xmalloc(size_t); |
63 char *xmalloc(size_t); |
59 char *xstrcpy(char *); |
64 char *xstrcpy(char *); |
60 char *xstrcat(char *, char *); |
65 char *xstrcat(char *, char *); |
61 |
66 |
|
67 |
|
68 /* lcd-pcf8574.c */ |
|
69 // Defines for the pcf8574 Pi LCD interface board |
|
70 |
|
71 #define AF_BASE 100 |
|
72 |
|
73 #define AF_RS (AF_BASE + 0) |
|
74 #define AF_RW (AF_BASE + 1) |
|
75 #define AF_E (AF_BASE + 2) |
|
76 #define AF_BACKLIGHT (AF_BASE + 3) |
|
77 #define AF_DB4 (AF_BASE + 4) |
|
78 #define AF_DB5 (AF_BASE + 5) |
|
79 #define AF_DB6 (AF_BASE + 6) |
|
80 #define AF_DB7 (AF_BASE + 7) |
|
81 |
|
82 void setBacklight (int); |
|
83 int initLCD (int, int); |
|
84 |
62 #endif |
85 #endif |
63 |
86 |