EasyManua.ls Logo

Moorebot Scout - Appendix I Custom Scratch API for Scout; System

Moorebot Scout
37 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...
33
Appendix I Custom Scratch API
for Scout
1. System
Module Name
start
Blckly Function
System_start
Python code
rollereye.start()
Function info
Start program
Module Name
timer (start / stop / pause) timing
Blckly Function
Timer_control
Python code
rollereye.timerStart() / rollereye.timerPause() /
rollereye.timerStop()
Function info
Start / Stop / Pause the timer
Module Name
timer time
Blckly Function
Timer_time
Python code
rollereye.getTimerTime()
Function info
Get the total time elapsed from when the timer was
started in milliseconds
Module Name
program runtime
Blckly Function
runtime
Python code
rollereye.getRunTime()
Function info
Get the total time elapsed from when the robot began
running up to the current time in milliseconds
Module Name
current timestamp
Blckly Function
System_ctime
Python code
rollereye.getCurrentTime()
Function info
Get the system timestamp from 01/01/1970 00:00:00
in milliseconds
Module Name
program stop
Blckly Function
System_stop

Other manuals for Moorebot Scout