mirror of
https://github.com/okalachev/flix.git
synced 2026-08-16 00:38:56 +00:00
Minor docs update
This commit is contained in:
+2
-2
@@ -76,9 +76,9 @@ See other available Make commands in [Makefile](../Makefile).
|
|||||||
In case if using different IMU model than MPU9250, change `imu` variable declaration in the `imu.ino`:
|
In case if using different IMU model than MPU9250, change `imu` variable declaration in the `imu.ino`:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
ICM20948 imu(SPI); // For ICM-20948
|
ICM20948 imu(SPI); // For ICM-20948 via SPI
|
||||||
// or
|
// or
|
||||||
MPU6050 imu(Wire); // For MPU-6050
|
MPU6050 imu(Wire); // For MPU-6050 via I2C
|
||||||
```
|
```
|
||||||
|
|
||||||
If using non-default SPI pins, pass SCK, MISO, and MOSI pin numbers to `SPI.begin` call and SS pin to `imu` constructor like that:
|
If using non-default SPI pins, pass SCK, MISO, and MOSI pin numbers to `SPI.begin` call and SS pin to `imu` constructor like that:
|
||||||
|
|||||||
Reference in New Issue
Block a user