y w / Mbed 2 deprecated NEW_ARM

Dependencies:   mbed-rtos mbed

Revision:
0:4682992b55fa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jan 30 05:24:10 2014 +0000
@@ -0,0 +1,42 @@
+
+#include "ARM.h"
+
+int main(){ 
+    Thread t1(ATARI); //atari hantei 1go-ki
+    Thread t2(HANTEI); //moji hantei
+    Thread t3(MEN); //men 1go-ki
+    Thread t4(MEN2); //men 2go-ki
+    Thread t5(BOU); //bougyo 1go-ki
+    Thread t6(BOU2); //bougyo 2go-ki
+    Thread t7(DOU); //dou 1go-ki
+    Thread t8(DOU2); //dou 2go-ki
+    Thread t9(TUKI); //tuki 1go-ki
+    Thread t10(TUKI2); //tuki 2go-ki
+    Thread t11(HIROSE); //auto mode       //thread limit
+  
+    pc.printf("start\n");    
+while(1){
+    switch(shin){
+    case'n':
+    Shinpan=1;
+    wait(0.0015);    
+    Shinpan=0;
+    wait(0.0185);
+    break;
+    
+    case'a':
+    Shinpan=1;
+    wait(0.0021);    
+    Shinpan=0;
+    wait(0.0179); 
+    break;
+        
+    case'b':
+    Shinpan=1;
+    wait(0.0009);    
+    Shinpan=0;
+    wait(0.0191); 
+    break;
+    }
+    }
+    }
\ No newline at end of file