PiJuiceStatus Class
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.
PiJuiceStatus class to support status of the PiJuice
public class PiJuiceStatus
type PiJuiceStatus = class
Public Class PiJuiceStatus
- Inheritance
-
PiJuiceStatus
Constructors
PiJuiceStatus(PiJuice) |
PiJuiceStatus constructor |
Methods
ClearButtonEvent(Button) |
Clears generated button event |
ClearButtonEvent(ButtonSwitch) |
Clears generated button event |
GetBatteryCurrent() |
Get battery current |
GetBatteryTemperature() |
Get battery temperature |
GetBatteryVoltage() |
Get battery voltage |
GetButtonEvents() |
Gets event generated by PiJuice buttons presses |
GetChargeLevel() |
Get battery charge level between 0 and 100 percent |
GetFaultStatus() |
Get current fault status of PiJuice |
GetIOCurrent() |
Get supplied current in milliamps |
GetIOVoltage() |
Get supplied voltage |
GetLedBlink(Led) |
Get blinking pattern for a specific Led |
GetLedState(Led) |
Get the color for a specific Led |
GetStatus() |
Get basic PiJuice status information |
SetLedBlink(LedBlink) |
Set blinking pattern for a specific Led |
SetLedState(Led, Color) |
Set the color for a specific Led |