Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
void SensorBattery::begin()
70
{
71
if (IoPin::NC != Board::batteryVoltageIn.getPinNo())
72
{
73
m_isAvailable = true;
74
}
75
}
76
77
bool SensorBattery::isAvailable() const
78
{
Callers
nothing calls this directly
Calls
1
getPinNo
Method · 0.80
Tested by
no test coverage detected