PiJuice(I2cDevice, Boolean) Constructor

Definition

Creates a new instance of the PiJuice.

public PiJuice (System.Device.I2c.I2cDevice i2cDevice, bool shouldDispose = true);
new Iot.Device.PiJuiceDevice.PiJuice : System.Device.I2c.I2cDevice * bool -> Iot.Device.PiJuiceDevice.PiJuice
Public Sub New (i2cDevice As I2cDevice, Optional shouldDispose As Boolean = true)

Parameters

i2cDevice
I2cDevice

The I2C device. Device address is 0x14

shouldDispose
Boolean

True to dispose the I2C device

Applies to