EasyManua.ls Logo

Keyestudio 4WD - Page 254

Keyestudio 4WD
369 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
254
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

Related product manuals