EasyManua.ls Logo

Keyestudio 4WD - Page 293

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...
293
www.keyestudio.com
Click“JavaScript" to view the corresponding JavaScript code:
(6)Test Results:
Download code to micro:bit, keep USB cable connected, dial POWER switch
to ON end. The distance value will be displayed on monitor.
(How to quick download?)
The "on start" command block runs only once to start the program.
②Serial redirection USB
③In the "forever" instruction block, the program runs cyclically.
④Serial write value distance=Ultrasonic
Delay time 200 milliseconds

Related product manuals