CHIP_IO

A CHIP IO library for Python: IO+PWM+SPWM+ADC+Utilities

View the Project on GitHub

CHIP_IO.OverlayManager

Import the OverlayManager module as follows

  import CHIP_IO.OverlayManager as OM

This module requires NTC’s CHIP-dt-overlays to be loaded.

toggle_debug()

Enable/Disable the Debug

load(overlay, path=””)

Loads the overlay specified. PWM0 is not available on the CHIP Pro due to the base DTS supporting both PWM0 and PWM1

unload(overlay)

Unloads the overlay specified. PWM0 is not available on the CHIP Pro due to the base DTS supporting both PWM0 and PWM1

get_spi_loaded()

Check to see if the SPI DTBO is loaded

get_pwm_loaded()

Check to see if the PWM0 DTBO is loaded

get_custom_loaded()

Check to see if the Custom DTBO is loaded

home