SOLID SM1 slow control module test program

Dependencies:   S_SCTRL_SMlib mbed

Revision:
2:0d1f510b851d
Parent:
1:39fce38f6e13
Child:
3:f113cc6358e3
diff -r 39fce38f6e13 -r 0d1f510b851d main.cpp
--- a/main.cpp	Tue Sep 16 19:36:53 2014 +0000
+++ b/main.cpp	Fri Sep 19 09:39:12 2014 +0000
@@ -3,16 +3,16 @@
  *
  * v1.x   used for testing first board
  * v2.01    make use of libs and structure for io, not tested with hw. 
+ * v2.08    tested with hw, publised used for mod 1 and 2 
+ * v2.09    corrected the  command help
  */
 
 
-
-
 #include "mbed.h"
 #include "S_SCTRL_SM1_PinDef.h"
 #include "S_SCTRL_SM1_hwfunct.h" 
-#define VERSION  "2.08"
-#define RELDATE "16 Sept 2014"
+#define VERSION  "2.09"
+#define RELDATE "19 Sept 2014"
 #define ORGANISATION "(C) Universiteit Antwerpen" 
 #define AUTHOR  "wim.beaumont@uantwerpen.be" 
 
@@ -47,17 +47,19 @@
 printf("T means toggle output\n\r");
 printf("connector 1 or connector 2 signal generation \n\r");
 printf("a: T sclk\tb: T direction\n\r");
-printf("c: T stio_mo\td: T csb1_1\n\r");
+printf("c: stio to 1\td: T csb1_1\n\r");
 printf("e: T csb2_1\tf: T mosi\n\r");
 printf("g: T t_cs\ti: T tc_cs1\n\r");
 printf("h: help\n\r");
 printf("j: T tc_cs2\tk: T dac_cs\n\r");
 printf("l: T dac_rst\tm: T cal_13\n\r");
 printf("n: T cal_24\to: T genextcal\n\r");
+printf("p: set stio to 0\n\r");
 printf("\n\rcommon\n\r");
 printf("q: sel int cal\tr: sel ext cal\n\r");
 printf("s: setdefault direction, cal int \n\r");
-printf("t: this table\n\r");
+printf("u: set STIO of current con to output \n\r");
+printf("t: this table\t");
 printf("v: version, serialnr ");
 printf("x: sel con1\ty: sel con2\n\r");
 printf("z: stop toggling\n\r");