mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 17:49:33 +00:00
Enable gyro calibration on the start
This commit is contained in:
parent
fde9c1cf36
commit
189eac95ef
@ -7,7 +7,7 @@
|
|||||||
#include <MPU9250.h>
|
#include <MPU9250.h>
|
||||||
|
|
||||||
#define IMU_CS_PIN 4 // chip-select pin for IMU SPI connection
|
#define IMU_CS_PIN 4 // chip-select pin for IMU SPI connection
|
||||||
#define CALIBRATE_GYRO_ON_START false
|
#define CALIBRATE_GYRO_ON_START true
|
||||||
|
|
||||||
MPU9250 IMU(SPI, IMU_CS_PIN);
|
MPU9250 IMU(SPI, IMU_CS_PIN);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user