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.
Diff: System/Process/Process.cpp
- Revision:
- 7:f4252ddc480d
- Parent:
- 6:c294736ba99d
- Child:
- 8:cb53beff4bb2
--- a/System/Process/Process.cpp Sat Jan 27 02:16:24 2018 +0000
+++ b/System/Process/Process.cpp Sat Jan 27 05:29:03 2018 +0000
@@ -53,8 +53,8 @@
if(controller->Button.RIGHT) {
motor[TIRE_L].dir = FOR;
motor[TIRE_R].dir = BACK;
- motor[TIRE_L].dir = 12.3;
- motor[TIRE_R].dir = 12.3;
+ motor[TIRE_L].pwm = 12.3;
+ motor[TIRE_R].pwm = 12.3;
}
motor[0].dirは FOR (正転)