Contiki 2.6

raven-lcd.h

00001 #ifndef raven_lcd_h
00002 #define raven_lcd_h
00003 
00004 int raven_lcd_serial_input(unsigned char ch);
00005 void raven_lcd_show_text(char *text);
00006 PROCESS_NAME(raven_lcd_process);
00007 
00008 /* Serial protocol */
00009 #define SOF_CHAR 1
00010 #define EOF_CHAR 4
00011 #define NULL_CMD               (0x00)
00012 #define SERIAL_CMD             (0x01)
00013 
00014 /* Messages from the 1284p to the 3290p */
00015 #define REPORT_PING            (0xC0)
00016 #define REPORT_PING_BEEP       (0xC1)
00017 #define REPORT_TEXT_MSG        (0xC2)
00018 #define REPORT_WAKE            (0xC3)
00019 
00020 /* Messages from the 3290p to the 1284p */
00021 #define SEND_TEMP              (0x80)
00022 #define SEND_PING              (0x81)
00023 #define SEND_ADC2              (0x82)
00024 #define SEND_SLEEP             (0x83)
00025 #define SEND_WAKE              (0x84)
00026 
00027 #endif