にいむら にいむら
/
mainboardnrp2018
unkounko
Diff: System/Process/Process.cpp
- Revision:
- 7:f4252ddc480d
- Parent:
- 6:c294736ba99d
- Child:
- 8:cb53beff4bb2
diff -r c294736ba99d -r f4252ddc480d System/Process/Process.cpp --- 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 (正転)