PiJuice(I2cDevice, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for