y w / Mbed 2 deprecated moter_titech

Dependencies:   mbed-rtos mbed

Revision:
9:215d94939bc9
diff -r 3eb58ae94a93 -r 215d94939bc9 ASI.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ASI.h	Thu Jan 30 05:24:48 2014 +0000
@@ -0,0 +1,42 @@
+#ifndef ASI_H
+#define ASI_H
+
+#include "mbed.h"
+#include "rtos.h"
+
+Serial pc(USBTX, USBRX);
+PwmOut Dou1(p21);
+PwmOut Asi1(p23);
+PwmOut Dou2(p22);
+PwmOut Asi2(p24);
+
+AnalogIn pote1(p15);
+AnalogIn pote2(p16);
+AnalogIn psd(p20);
+
+DigitalIn hiro(p10);
+char c;
+
+
+int zen1=0;
+int go1=0;
+int zen2=0;
+int go2=0;
+int dou1=0;
+int dou2=0;
+
+int potentio1;
+int potentio2;
+
+int deg1=1;
+int deg2=1;
+
+int hirose=0;
+
+#include "HANTEI.h"
+#include "ZENGO.h"
+#include "DOU.h"
+#include "HIROSE.h"
+
+
+#endif
\ No newline at end of file