a

Dependencies:   TextLCD mbed

Revision:
0:62ac378df546
diff -r 000000000000 -r 62ac378df546 uart2.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uart2.h	Fri Apr 19 09:14:08 2013 +0000
@@ -0,0 +1,28 @@
+
+#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,
+};