class documentation

class System:

Constructor: System()

View In Hierarchy

Handle basic system operations.

Method __init__ Initialize the System helper.
Method bootloader_mode Enter the bootloader mode.
Method hard_reset Reboot the system.
Method shutdown_device Shut down the device.
Method soft_reset Reboot the system without resetting the hardware.
Property board_id Return the board ID.
Property board_name Return the board name.
Property device_name Return the device name.
Property free_flash Return the free flash memory size.
Property free_heap Return the amount of free heap memory.
Property free_psram Return the amount of free PSRAM memory.
Property freq Return MCU frequency.
Property has_audio Return True if the device has audio capabilities.
Property has_bluetooth Return True if the device has Bluetooth capabilities.
Property has_psram Return True if the device has PSRAM capabilities.
Property has_sd_card Return True if the device has an SD card slot.
Property has_touch Return True if the device has touch capabilities.
Property has_wifi Return True if the device has WiFi capabilities.
Property is_circular Return True if the device has a circular display.
Property total_flash Return the total flash memory size.
Property total_heap Return the total heap memory size.
Property total_psram Return the total PSRAM memory size.
Property used_flash Return the used flash memory size.
Property used_heap Return the total heap memory used.
Property used_psram Return the total PSRAM memory used.
Property version Return the Picoware version.
def __init__(self):

Initialize the System helper.

def bootloader_mode(self):

Enter the bootloader mode.

def hard_reset(self):

Reboot the system.

def shutdown_device(self, view_manager=None):

Shut down the device.

Parameters
view_manager:ViewManagerOptional manager to show a shutdown alert. Defaults to None.
def soft_reset(self):

Reboot the system without resetting the hardware.

@property
board_id: int =

Return the board ID.

@property
board_name =

Return the board name.

@property
device_name =

Return the device name.

@property
free_flash =

Return the free flash memory size.

@property
free_heap: int =

Return the amount of free heap memory.

@property
free_psram =

Return the amount of free PSRAM memory.

@property
freq =

Return MCU frequency.

@property
has_audio: bool =

Return True if the device has audio capabilities.

@property
has_bluetooth =

Return True if the device has Bluetooth capabilities.

@property
has_psram: bool =

Return True if the device has PSRAM capabilities.

@property
has_sd_card: bool =

Return True if the device has an SD card slot.

@property
has_touch =

Return True if the device has touch capabilities.

@property
has_wifi =

Return True if the device has WiFi capabilities.

@property
is_circular =

Return True if the device has a circular display.

@property
total_flash =

Return the total flash memory size.

@property
total_heap =

Return the total heap memory size.

@property
total_psram =

Return the total PSRAM memory size.

@property
used_flash =

Return the used flash memory size.

@property
used_heap =

Return the total heap memory used.

@property
used_psram =

Return the total PSRAM memory used.

@property
version: str =

Return the Picoware version.