|
SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
|
#include <objects.h>
Public Attributes | |
| int16_t | speed |
| Vehicle speed (in mm/s). | |
| uint16_t | dist |
| Elapsed distance (in units of 0.25m). | |
Speed raw data.
The struct contains the raw data from the speed sensor:
| uint16_t Speed::dist |
Elapsed distance (in units of 0.25m).
| int16_t Speed::speed |
Vehicle speed (in mm/s).