mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Use interrupts instead of polling for main loop
This commit is contained in:
@@ -25,6 +25,7 @@ void configureIMU() {
|
||||
IMU.setGyroRange(IMU.GYRO_RANGE_2000DPS);
|
||||
IMU.setDLPF(IMU.DLPF_MAX);
|
||||
IMU.setRate(IMU.RATE_1KHZ_APPROX);
|
||||
IMU.setupInterrupt();
|
||||
}
|
||||
|
||||
void readIMU() {
|
||||
|
Reference in New Issue
Block a user