code die in het verslag komt
Dependencies: FastPWM HIDScope MODSERIAL QEI biquadFilter mbed
Revision 7:bb51e2421953, committed 2016-11-06
- Comitter:
- mefix
- Date:
- Sun Nov 06 11:39:31 2016 +0000
- Parent:
- 6:2225bdcfcd6e
- Child:
- 8:9dcd1603d713
- Commit message:
- changed two comments
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Nov 06 11:38:23 2016 +0000 +++ b/main.cpp Sun Nov 06 11:39:31 2016 +0000 @@ -369,14 +369,14 @@ servo_timer.attach(&activate_servo_control,servo_Ts); while(1) { - // Take a sample and control the motor when the go flag is true. + // Take a sample and control the motor when go flag is true. if (controller_go == true) { sample(); motor_controller(); controller_go = false; } - // Control the servo when the go flag is true + // Control the servo when go flag is true if(servo_go == true) { servo_controller(); servo_go=false;