調整中

Dependencies:   mbed HMC6352 US015 TB6612FNG2 getGPS ATP3011

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

Who changed what in which revision?

UserRevisionLine numberNew contents of line
user_ 10:0433f48faf74 1 void ROttate(double angle) {
user_ 10:0433f48faf74 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