supervisor — Supervisor settings

The supervisor module. (TODO: expand description)

Libraries

supervisor.runtime

Runtime information, such as runtime.serial_connected (USB serial connection status). This object is the sole instance of supervisor.Runtime.

supervisor.enable_autoreload()

Enable autoreload based on USB file write activity.

supervisor.disable_autoreload()

Disable autoreload based on USB file write activity until enable_autoreload is called.

supervisor.set_rgb_status_brightness()

Set brightness of status neopixel from 0-255 set_rgb_status_brightness is called.

supervisor.reload()

Reload the main Python code and run it (equivalent to hitting Ctrl-D at the REPL).

supervisor.set_next_stack_limit(size)

Set the size of the stack for the next vm run. If its too large, the default will be used.