programrunner – run user programs¶
This module handles the running of user programs (i.e. the Scratch/Python programs that live in the program slots on the system).
Functions¶
- programrunner.filter_dict_len(???)¶
???
- programrunner.map_dirty(???)¶
???
- programrunner.filter_vm_vars(???)¶
???
- programrunner.sum_list_len(???)¶
???
- programrunner.filter_vm_lists(???)¶
???
- programrunner.setup_vm(???)¶
Generator function. ???
- programrunner.untuple_vm_vars(???)¶
Generator function. ???
Class ProgramRunner¶
Imports¶
Module protocol.notifications – ???
Function
micropython.constFunction
event_loop.get_event_loopFunction
util.storage.get_pathFunction
util.storage.set_force_resetFunction
util.storage.get_program_project_idFunction
util.storage.get_program_typeFunction
util.time.reset_timeFunction
util.time.stop_timeConstant
util.constants.LPF2_FLIPPER_DISTANCE= 62Constant
util.constants.TIMER_PACE_LOW= 48Constant
util.constants.TIMER_PACE_HIGH= 16Constant
util.storage.PROGRAM_TYPE_PYTHON= pythonConstant
util.storage.PROGRAM_TYPE_SCRATCH= scratchConstant
util.error_handler.PROGRAM_EXECUTION_ERROR= 0Constant
util.error_handler.PROGRAM_EXECUTION_MEMORY_ERROR= 1Constant
util.error_handler.error_handler= <Main ErrorHandler object>