Edit

Share via


PiJuice Class

Definition

Create a PiJuice class

public class PiJuice : IDisposable
type PiJuice = class
    interface IDisposable
Public Class PiJuice
Implements IDisposable
Inheritance
PiJuice
Implements

Constructors

PiJuice(I2cDevice, Boolean)

Creates a new instance of the PiJuice.

Fields

DefaultI2cAddress

The default PiJuice I2C address is 0x14 Other addresses can be uses, see PiJuice documentation

Properties

IdEepromAddress

The physical I2C address of the EEPROM

IdEepromWriteProtect

The write protection of the EEPROM

PiJuiceInfo

Contains the PiJuice key information

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetFirmwareVerion()

Get the firmware version

GetFirmwareVersion()

Get the firmware version

SetDefaultConfiguration()

(https://github.com/PiSupply/PiJuice/blob/02c129c3aa884934c368936c9363df90690148a8/Software/Source/pijuice.py#L1531)

Applies to