19 lines
319 B
C++
Executable File
19 lines
319 B
C++
Executable File
#pragma once
|
|
|
|
#include <Adafruit_BNO055.h>
|
|
#include "data_source.h"
|
|
#include <Arduino.h>
|
|
|
|
#define DATA_CLOCK 10
|
|
|
|
class DataSourceBNO055 : public DataSource{
|
|
|
|
public:
|
|
DataSourceBNO055();
|
|
void readSensor() override;
|
|
|
|
public:
|
|
Adafruit_BNO055 bno;
|
|
unsigned long lastTime;
|
|
|
|
}; |