ryo seki
/
serialSend5
a
uart2.h
- Committer:
- akudohune
- Date:
- 2013-04-19
- Revision:
- 0:62ac378df546
File content as of revision 0:62ac378df546:
#define SEND2_DATA_NUM 7 #define RECEIVE2_DATA_NUM 7 #define KEYCODE3 54 #define CHECKCODE3 (SendData2[DATA31] ^ SendData2[DATA32] ^ SendData2[DATA33] ^ SendData2[DATA34] ^ SendData2[DATA35]) #define KEYCODE4 22 #define CHECKCODE4 (RecData2[DATA41] ^ RecData2[DATA42] ^ RecData2[DATA43] ^ RecData2[DATA44] ^ RecData2[DATA45]) enum{ KEY3 = 0, DATA31, DATA32, DATA33, DATA34, DATA35, CHECK3, }; enum{ KEY4 = 0, DATA41, DATA42, DATA43, DATA44, DATA45, CHECK4, };