Fx0 hackathon team4
Dependencies: NySNICInterface mbed-rtos mbed
Fork of RESTServerSample by
Diff: control_motors.cpp
- Revision:
- 9:01aa69185ed8
- Parent:
- 7:bdd579baaa91
--- a/control_motors.cpp Sun Feb 15 06:12:58 2015 +0000 +++ b/control_motors.cpp Sun Feb 15 13:18:24 2015 +0000 @@ -75,7 +75,6 @@ if(motor_id == MOTOR_RIGHT){ printf("motor right speed = %d\n", speed); - // TODO // モーター制御の処理 if(speed > 0){ mPwmMotorR = (float)speed/255; @@ -94,7 +93,6 @@ }else if(motor_id == MOTOR_LEFT){ printf("motor left speed = %d\n", speed); - // TODO // モーター制御の処理 if(speed > 0){ mPwmMotorL = (float)speed/255; @@ -117,7 +115,6 @@ void start_shaking_tail(){ printf("start_shaking_tail\n"); - // TODO // モーター制御の処理 mPwmMotorTail = 0.8; mDoutMotorTail1 = 1; @@ -129,7 +126,6 @@ void stop_shaking_tail(){ printf("stop_shaking_tail\n"); - // TODO // モーター制御の処理 mPwmMotorTail = 0.0; mDoutMotorTail1 = 0;