MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / begin

Method begin

lib/Sensors/src/SensorBattery.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void SensorBattery::begin()
70{
71 if (IoPin::NC != Board::batteryVoltageIn.getPinNo())
72 {
73 m_isAvailable = true;
74 }
75}
76
77bool SensorBattery::isAvailable() const
78{

Callers

nothing calls this directly

Calls 1

getPinNoMethod · 0.80

Tested by

no test coverage detected