Zum Hauptinhalt springen

MicroPython Library

The husb238.py module talks to the HUSB238 over I2C at its fixed address 0x08. Its HUSB238 class reads whether a PD charger is attached and which voltage and current it agreed to, and it can ask the charger for a different voltage.

Not installed yet? Follow Quick Start before using the functionality pages.

Functionality​

Each page starts with one verified module example and explains every function the example uses to get that result.