MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / start

Method start

src/custom_sensor/IMU_Sensor.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9void IMU_Sensor::start() {
10 if (available) return;
11
12 Wire1.begin();
13 if (IMU->begin()) {
14 available = true;
15 }
16}
17
18void IMU_Sensor::end() {
19 if (!available) return;

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected