a

Dependencies:   TextLCD mbed

Committer:
akudohune
Date:
Tue Apr 30 09:06:57 2013 +0000
Revision:
1:ed00e9c4ba6e
Parent:
0:62ac378df546
ooo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
akudohune 0:62ac378df546 1
akudohune 1:ed00e9c4ba6e 2 #define SEND_DATA_NUM 14
akudohune 0:62ac378df546 3 #define RECEIVE_DATA_NUM 6
akudohune 0:62ac378df546 4
akudohune 0:62ac378df546 5 #define KEYCODE 120
akudohune 1:ed00e9c4ba6e 6 #define CHECKCODE (SendData0[DIRECTIONN] ^ SendData0[DISTANCE] ^ SendData0[SONIC1_1] ^ SendData0[SONIC1_2] ^ SendData0[SONIC2_1] ^ SendData0[SONIC2_2] ^ SendData0[SONIC3_1] ^ SendData0[SONIC3_2] ^ SendData0[SONIC4_1] ^ SendData0[SONIC4_2] ^ SendData0[IR_FOUND] ^ SendData0[XBEE])
akudohune 0:62ac378df546 7 #define KEYCODE2 35
akudohune 0:62ac378df546 8 #define CHECKCODE2 (RecData[DATA1] ^ RecData[DATA2] ^ RecData[DATA3] ^ RecData[DATA4])
akudohune 0:62ac378df546 9
akudohune 0:62ac378df546 10
akudohune 0:62ac378df546 11 enum{
akudohune 0:62ac378df546 12 KEY = 0,
akudohune 0:62ac378df546 13 DIRECTIONN,
akudohune 0:62ac378df546 14 DISTANCE,
akudohune 0:62ac378df546 15 SONIC1_1,
akudohune 0:62ac378df546 16 SONIC1_2,
akudohune 0:62ac378df546 17 SONIC2_1,
akudohune 0:62ac378df546 18 SONIC2_2,
akudohune 0:62ac378df546 19 SONIC3_1,
akudohune 0:62ac378df546 20 SONIC3_2,
akudohune 0:62ac378df546 21 SONIC4_1,
akudohune 0:62ac378df546 22 SONIC4_2,
akudohune 1:ed00e9c4ba6e 23 IR_FOUND,
akudohune 0:62ac378df546 24 XBEE,
akudohune 0:62ac378df546 25 CHECK,
akudohune 0:62ac378df546 26 };
akudohune 0:62ac378df546 27
akudohune 0:62ac378df546 28 enum{
akudohune 0:62ac378df546 29 KEY2 = 0,
akudohune 0:62ac378df546 30 DATA1,
akudohune 0:62ac378df546 31 DATA2,
akudohune 0:62ac378df546 32 DATA3,
akudohune 0:62ac378df546 33 DATA4,
akudohune 0:62ac378df546 34 CHECK2,
akudohune 0:62ac378df546 35 };