調整中

Dependencies:   mbed HMC6352 US015 TB6612FNG2 getGPS ATP3011

Committer:
user_
Date:
Wed Oct 27 06:42:05 2021 +0000
Revision:
11:5c0237c3fb1e
Parent:
10:0433f48faf74
Child:
12:0b8b980ba896
test; ;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
user_ 10:0433f48faf74 1 void ROttate(double angle) {
user_ 11:5c0237c3fb1e 2 double time = angle; // 試験で調整してください。
user_ 10:0433f48faf74 3 if (angle > 0) {
user_ 10:0433f48faf74 4 MotorDriver('5', 1);
user_ 10:0433f48faf74 5 wait(time);
user_ 10:0433f48faf74 6 MotorDriver('1', 0);
user_ 10:0433f48faf74 7 } elif (angle < 0) {
user_ 10:0433f48faf74 8 MotorDriver('6', 1);
user_ 10:0433f48faf74 9 wait(time);
user_ 10:0433f48faf74 10 MotorDriver('1', 0);
user_ 10:0433f48faf74 11 }
user_ 10:0433f48faf74 12 }
user_ 10:0433f48faf74 13
user_ 10:0433f48faf74 14