Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

Include SPI library to IMU module

Oleg Kalachev4a045d89a419
diff --git a/flix/imu.ino b/flix/imu.ino
index eddaa89..7b99cec 100644
--- a/flix/imu.ino
+++ b/flix/imu.ino
@@ -1,6 +1,7 @@
// Copyright (c) 2023 Oleg Kalachev <[email protected]>
// Repository: https://github.com/okalachev/flix
+#include <SPI.h>
#include <MPU9250.h>
#define IMU_CS_PIN 4 // chip-select pin for IMU SPI connection