mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Use default recommended chip-select pin (GPIO5) for SPI
Update link to the schematics #3 to the most recent version
This commit is contained in:
@@ -6,10 +6,9 @@
|
||||
#include <SPI.h>
|
||||
#include <MPU9250.h>
|
||||
|
||||
#define IMU_CS_PIN 4 // chip-select pin for IMU SPI connection
|
||||
#define LOAD_GYRO_CAL false
|
||||
|
||||
MPU9250 IMU(SPI, IMU_CS_PIN);
|
||||
MPU9250 IMU(SPI, SS);
|
||||
|
||||
void setupIMU() {
|
||||
Serial.println("Setup IMU, stand still");
|
||||
|
Reference in New Issue
Block a user