Keyestudio KS0436 Kit Manual page 241

Table of Contents

Advertisement

void loop()
{
// 2 DC motor rotate CW for 1S, and rotate CCW for 1S
// rotate CW
front();
delay(1000);
Stop();
back();
delay(1000);
Stop();
delay(1000);
left();
delay(1000);
Stop();
delay(1000);
right();
delay(1000);
Stop();
delay(1000);
}
void front() {
digitalWrite(STBY,HIGH);
241

Advertisement

Table of Contents
loading

Table of Contents