SPQR-Team-2019-REVAMPED/include/sensors.h

19 lines
320 B
C
Raw Normal View History

#include <Arduino.h>
#include "data_source_bno055.h"
2019-11-18 14:42:43 +01:00
#include "data_source_ball.h"
#include "motor.h"
#include "drivecontroller.h"
#ifdef SENSORS_CPP
#define extr
#else
#define extr extern
#endif
void initSensors();
void updateSensors();
2019-11-18 14:37:55 +01:00
extr DataSource* compass;
2019-11-18 14:42:43 +01:00
extr DataSource* ball;
extr DriveController* drive;