Modify ota's code
Dependencies: Dynamixel SerialHalfDuplex mbed
Fork of YOZAKURA_ARM_USB_0425 by
Diff: main.cpp
- Revision:
- 5:581b55deaeb1
- Parent:
- 4:d9ea010641ab
- Child:
- 6:6d9dac9ff798
--- a/main.cpp Sat Apr 25 06:42:51 2015 +0000 +++ b/main.cpp Sat Apr 25 06:43:37 2015 +0000 @@ -12,7 +12,7 @@ #include "AX12.h" #include "MX28.h" -#define DYNA_DEBUG 1 +#define DYNA_DEBUG 0 DigitalOut low(p16); DigitalOut RelaySwitch(p18); @@ -134,7 +134,7 @@ #define D6T_addr 0x14 #define D6T_cmd 0x4c -#define THERMO_DEBUG 1 +#define THERMO_DEBUG 0 char I2C_rd1[64]; // 生データ short datr1[16]; // 16点 温度データ(10倍整数) @@ -239,7 +239,7 @@ AnalogIn ain(p20); -#define CO2_DEBUG 1 +#define CO2_DEBUG 0 float GetCO2() { float v; //生データ:電圧 @@ -259,7 +259,7 @@ /*--------------- MAIN ROOP ----------------*/ -#define DEBUG 1 +#define DEBUG 0 int main() { char Dyna_data[50];