Modify ota's code
Dependencies: Dynamixel SerialHalfDuplex mbed
Fork of YOZAKURA_ARM_USB_0425 by
Diff: main.cpp
- Revision:
- 7:58eb1e1e9143
- Parent:
- 6:6d9dac9ff798
- Child:
- 8:bbea423c9206
diff -r 6d9dac9ff798 -r 58eb1e1e9143 main.cpp --- a/main.cpp Sun Apr 26 08:40:50 2015 +0000 +++ b/main.cpp Mon Apr 27 04:21:44 2015 +0000 @@ -190,7 +190,7 @@ } printf("\n"); } d_PTAT1 = 0.1 * PTAT1; - wait(0.1); +// wait(0.1); /*MEMS1*/ /*MEMS2*/ @@ -226,7 +226,7 @@ } printf("\n"); } d_PTAT2 = 0.1 * PTAT2; - wait(0.1); +// wait(0.1); /*MEMS2*/ } /*--Thermal_Sensor:end------------------------------------------------------------------------------------*/ @@ -262,6 +262,9 @@ #define DEBUG 0 int main() { + + pc.baud(38400); + char Dyna_data[50]; char Thermo_data[200]; float CO2_data;