Skip to content

0.3.0

Latest
Compare
Choose a tag to compare
@mikegoatly mikegoatly released this 14 Nov 10:50

This release allows PiJuiceSharp to operate in environments where a PiJuice isn't present, allowing you to include logic for the PiJuice in your application, but not crash if no PiJuice is present. The new BatteryStatus.NoPiJuice enum value can be used to detect this state.

Breaking changes:

  • You no longer construct a PiJuiceInterface or PiJuiceStatus instance yourself. Instead, use PiJuiceStatus.Create().