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