Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed QEI Servo HIDScope biquadFilter MODSERIAL FastPWM
Revision 63:d17f45d88c7a, committed 2019-11-01
- Comitter:
- BasB
- Date:
- Fri Nov 01 00:58:58 2019 +0000
- Parent:
- 62:b1790e927a90
- Child:
- 65:a01cf17a2bce
- Child:
- 68:2879967ebb25
- Commit message:
- Hopefully fixed operation mode agressive movement due to demo mode
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Nov 01 00:46:39 2019 +0000
+++ b/main.cpp Fri Nov 01 00:58:58 2019 +0000
@@ -1179,6 +1179,11 @@
global_curr_state = global_wait;
global_state_changed = true;
set_led_color('o'); // Disable demo mode LED
+
+ motor1_ref = motor1_init;
+ motor1_angle = motor1_init;
+ motor2_ref = motor2_init;
+ motor2_angle = motor2_init;
}
}