Contiki 2.5
raven-lcd.h
1 #ifndef raven_lcd_h
2 #define raven_lcd_h
3 
4 int raven_lcd_serial_input(unsigned char ch);
5 void raven_lcd_show_text(char *text);
6 PROCESS_NAME(raven_lcd_process);
7 
8 /* Serial protocol */
9 #define SOF_CHAR 1
10 #define EOF_CHAR 4
11 #define NULL_CMD (0x00)
12 #define SERIAL_CMD (0x01)
13 
14 /* Messages from the 1284p to the 3290p */
15 #define REPORT_PING (0xC0)
16 #define REPORT_PING_BEEP (0xC1)
17 #define REPORT_TEXT_MSG (0xC2)
18 #define REPORT_WAKE (0xC3)
19 
20 /* Messages from the 3290p to the 1284p */
21 #define SEND_TEMP (0x80)
22 #define SEND_PING (0x81)
23 #define SEND_ADC2 (0x82)
24 #define SEND_SLEEP (0x83)
25 #define SEND_WAKE (0x84)
26 
27 #endif