SPQR-Team1-2020/include/data_source_bno055.h

19 lines
319 B
C++
Executable File

#pragma once
#include "data_source.h"
#include <Adafruit_BNO055.h>
#include <Arduino.h>
#define DATA_CLOCK 10
class DataSourceBNO055 : public DataSource{
public:
DataSourceBNO055();
void readSensor() override;
public:
Adafruit_BNO055 bno;
unsigned long lastTime;
};