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

19 lines
319 B
C
Raw Normal View History

#pragma once
2019-10-21 08:57:58 +02:00
#include "data_source.h"
2019-10-21 08:06:37 +02:00
#include <Adafruit_BNO055.h>
#include <Arduino.h>
#define DATA_CLOCK 10
2019-10-21 08:57:58 +02:00
class DataSourceBNO055 : public DataSource{
2019-10-21 08:06:37 +02:00
public:
2019-10-21 08:57:58 +02:00
DataSourceBNO055();
2019-11-18 14:37:55 +01:00
void readSensor() override;
2019-10-21 08:57:58 +02:00
2019-10-21 08:06:37 +02:00
public:
Adafruit_BNO055 bno;
unsigned long lastTime;
2019-10-21 08:57:58 +02:00
2019-10-21 08:06:37 +02:00
};