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.
Dependents: PSL_ROBOT_lorenzo robot_lorenzo recepteur_mbed_os_6
Diff: MX12.cpp
- Revision:
- 33:67e5482f83dd
- Parent:
- 31:e48d21e28023
diff -r e48d21e28023 -r 67e5482f83dd MX12.cpp --- a/MX12.cpp Fri Mar 11 11:01:20 2022 +0000 +++ b/MX12.cpp Wed Jun 15 13:04:37 2022 +0000 @@ -378,17 +378,8 @@ char data[2]; data[1] = 0; data[0] = 0; - _bus_state = SerialState::Writing; - rw(1, CONTROL_TABLE_CW_ANGLE_LIMIT, 2, data); - rw(2, CONTROL_TABLE_CW_ANGLE_LIMIT, 2, data); - rw(3, CONTROL_TABLE_CW_ANGLE_LIMIT, 2, data); - _bus_state = SerialState::Writing; - rw(1, CONTROL_TABLE_CCW_ANGLE_LIMIT, 2, data); - rw(2, CONTROL_TABLE_CCW_ANGLE_LIMIT, 2, data); - rw(3, CONTROL_TABLE_CCW_ANGLE_LIMIT, 2, data); - float W1; float W2; float W3;