www.keyestudio.com
Complete Program:
Click"JavaScript" to view the corresponding JavaScript code: :
① In the "forever" instruction block, the program runs
cyclically.
② Set the front left motor speed to 75, and rotate
clockwise.
③ Set the speed of the rear left motor to 75 and the
direction to rotate clockwise.
④Set the front right motor speed to 75 and the direction
to rotate clockwise.
⑤Set the right rear motor speed to 75 and the direction to
rotate clockwise
⑥The delay time is 2000 milliseconds
⑦4 motors stop rotating
⑧ Delay time 2000 milliseconds
⑦4 motors stop rotating
254