- null-terminated TSV frame: V_bat, IMU (9 fields), RPM, gear - mock RPM ramps 800-8000, gear derived from RPM bands - voltage calibration offset - PROTOCOL.md documents wire format Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9 lines
156 B
C
9 lines
156 B
C
#ifndef RPM_H
|
|
#define RPM_H
|
|
|
|
void rpm_init();
|
|
void rpm_update(); // Call in loop
|
|
int rpm_get(); // Returns current RPM (0 if invalid)
|
|
|
|
#endif
|