diff --git a/README.md b/README.md index ad11385..f72552d 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Simulation in Gazebo using a plugin that runs original Arduino code is implement Flix schematics -You can also check a user contributed [variant of complete circuit diagram](https://github.com/okalachev/flix/issues/3#issue-2066079898) of the drone. +You can also check a user contributed [variant of complete circuit diagram](https://miro.com/app/board/uXjVN-dTjoo=/) of the drone. *\* — SBUS inverter is not needed as ESP32 supports [software pin inversion](https://github.com/bolderflight/sbus#inverted-serial).* diff --git a/flix/imu.ino b/flix/imu.ino index acbade5..9d0107b 100644 --- a/flix/imu.ino +++ b/flix/imu.ino @@ -6,10 +6,9 @@ #include #include -#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");