mirror of
https://github.com/okalachev/flix.git
synced 2026-01-11 21:46:55 +00:00
Make util module header instead of .ino-file
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <SPI.h>
|
||||
#include <MPU9250.h>
|
||||
#include "util.h"
|
||||
|
||||
MPU9250 IMU(SPI);
|
||||
|
||||
@@ -12,8 +13,6 @@ Vector accBias;
|
||||
Vector gyroBias;
|
||||
Vector accScale(1, 1, 1);
|
||||
|
||||
extern const float ONE_G;
|
||||
|
||||
void setupIMU() {
|
||||
Serial.println("Setup IMU");
|
||||
bool status = IMU.begin();
|
||||
|
||||
Reference in New Issue
Block a user