Module implementing the device interface class for generic MicroPython devices (i.e. those devices not specifically supported yet).
None |
GenericMicroPythonDevice | Class implementing the device interface for generic MicroPython boards. |
createDevice | Function to instantiate a MicroPython device object. |
Class implementing the device interface for generic MicroPython boards.
None |
None |
GenericMicroPythonDevice | Constructor |
__deviceVolumeMounted | Private method to check, if the device volume is mounted. |
__findWorkspace | Private method to find the workspace directory. |
canRunScript | Public method to determine, if a script can be executed. |
canStartFileManager | Public method to determine, if a File Manager can be started. |
canStartPlotter | Public method to determine, if a Plotter can be started. |
canStartRepl | Public method to determine, if a REPL can be started. |
deviceName | Public method to get the name of the device. |
getWorkspace | Public method to get the workspace directory. |
runScript | Public method to run the given Python script. |
setButtons | Public method to enable the supported action buttons. |
supportsLocalFileAccess | Public method to indicate file access via a local directory. |
None |
Constructor
Private method to check, if the device volume is mounted.
Private method to find the workspace directory.
Public method to determine, if a script can be executed.
Public method to determine, if a File Manager can be started.
Public method to determine, if a Plotter can be started.
Public method to determine, if a REPL can be started.
Public method to get the name of the device.
Public method to get the workspace directory.
Public method to run the given Python script.
Public method to enable the supported action buttons.
Public method to indicate file access via a local directory.
Function to instantiate a MicroPython device object.