Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEarable/open-earable
/ BARO_Sensor
Method
BARO_Sensor
src/custom_sensor/BARO_Sensor.cpp:5–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
extern TwoWire Wire1;
4
5
BARO_Sensor::BARO_Sensor() {
6
Baro = new Adafruit_BMP280(&Wire1);
7
}
8
9
void BARO_Sensor::start() {
10
if (available) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected