Wallbot_CaaS
Dependencies: MPU6050 mbed PID
Fork of BLE_MPU6050_test6_challenge_sb by
Diff: main.cpp
- Revision:
- 12:96fbb4cb7c48
- Parent:
- 11:8142dc8348f4
- Child:
- 13:ed867b8003c2
diff -r 8142dc8348f4 -r 96fbb4cb7c48 main.cpp --- a/main.cpp Thu May 17 06:11:48 2018 +0000 +++ b/main.cpp Thu May 17 23:31:47 2018 +0000 @@ -135,7 +135,7 @@ ble.startAdvertising(); pc.printf("auto calibrate start\n\r"); - wb.auto_calibrate(); + //wb.auto_calibrate(); #ifdef DEBUG for(int i = 0 ; i < 4 ; i++) { @@ -153,8 +153,10 @@ wait_ms(10); } #endif - wb.control_enable(true); - wb.SetRPM(-10,10); + + //wb.control_enable(true); + //wb.SetRPM(-30,30); + while (true) { //センサ値の取得