SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
Loading...
Searching...
No Matches
libs.h
Go to the documentation of this file.
1
2#ifndef __LIBS_H__
3#define __LIBS_H__
4
10
11#include <ISM330DHCXSensor.h> //for imu https://github.com/stm32duino/ISM330DHCX
12#include <LIS3MDLSensor.h> //for magnetometer https://github.com/stm32duino/LIS3MDL
13#include <Adafruit_GPS.h> //for GPS
14#include <SPI.h> //for SPI communication (already included when installing teensyduino)
15#include <ADC.h> //for ADC stuff https://github.com/pedvide/ADC (already included when installing teensyduino)
16#include <ADC_util.h> //for ADC stuff https://github.com/pedvide/ADC (already included when installing teensyduino)
17#include <MCP492X.h> //for DAC https://github.com/michd/Arduino-MCP492X, modified by SL to use different SPI and added function latch() to latch DAC output
18#include <SerialTransfer.h> //for serial trasfer with speed sensor https://github.com/PowerBroker2/SerialTransfer
19#include <TimeLib.h> //for date & time (already included when installing teensyduino)
20#include <T4_PowerButton.h> //for on/off button management https://github.com/FrankBoesing/T4_PowerButton/blob/master/examples/power/power.ino
21#include <SD.h> //for saving in SD, includes SDFat
22#include <RingBuf.h> //ring buffer for logging
23#include <MTP.h> //for media transfer protocol with pc (already included when installing teensyduino)
24#include <sbus.h> //for SBUS communication protocol with remote controller https://github.com/bolderflight/SBUS - modified by SL (simplifications)
25#include <teensystep4.h> //for stepper motor control https://github.com/luni64/TeensyStep4
26#include <HostPort.h> //for debug operations
27#include <controlModel.h> //include control model librariy (generated with the Embedeed coder)
28
29#endif