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