Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { *axp192orig.Device LED Pin RST Pin SPK_EN Pin }
Device wraps an I2C connection to a AXP192 device.
func New ¶
New creates a new AXP192 connection. The I2C bus must already be configured.
This function only creates the Device object, it does not touch the device.
func (*Device) SetESPVoltage ¶
SetESPVoltage sets voltage of ESP32.
func (*Device) SetLcdVoltage ¶
SetLcdVoltage sets voltage of LCD.
Click to show internal directories.
Click to hide internal directories.