yuhang zhu / Mbed 2 deprecated ADAM_menu

Dependencies:   mbed

Revision:
24:f8fea5e5bf73
Parent:
21:4d6b26eecdac
Child:
26:5c264e20402f
--- a/parameters.h	Mon Jul 22 17:53:24 2013 +0000
+++ b/parameters.h	Tue Jul 23 04:33:02 2013 +0000
@@ -1,18 +1,17 @@
 #ifndef PARAMETERS_H
 #define PARAMETERS_H
 
-//For Tera Term, the ascii code for backspace is
-
-
 #define MODE_IDLE    0
 #define MODE_CHA1PHA 1
 #define MODE_CHA1AMP 2
 #define MODE_CHA2PHA 3
 #define MODE_CHA2AMP 4
-#define MODE_DISPLAY 5
-#define MODE_SEND    6
-#define MODE_HELP    7
-#define MODE_ERR     8
+#define MODE_SPI_RAW 5
+#define MODE_DISPLAY 6
+#define MODE_SEND    7
+#define MODE_HELP    8
+#define MODE_ERR     9
+
 
 #define LINEBUF_EMPTY 0
 #define LINEBUF_OK 1
@@ -21,6 +20,7 @@
 
 #define PARSE_ERR    -2
 #define PARSE_LONG   -1
+#define PARSE_SHORT  -3
 #define PARSE_OK     0
 #define PARSE_EMPTY  1
 #define PARSE_ROUNDED 2