File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Example_01_SPI_RotationVector
Example_02_SPI_ResetCheck Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33
33
34
34
Hardware Connections:
35
35
IoT RedBoard --> BNO08x
36
- D25 --> CS
36
+ D5 --> CS
37
37
PICO --> SI
38
38
POCI --> SO
39
39
SCK --> SCK
@@ -59,7 +59,7 @@ BNO08x myIMU;
59
59
60
60
// For SPI, we need some extra pins defined:
61
61
// Note, these can be other GPIO if you like.
62
- #define BNO08X_CS 25
62
+ #define BNO08X_CS 5
63
63
#define BNO08X_INT A4
64
64
#define BNO08X_RST A5
65
65
Original file line number Diff line number Diff line change 33
33
34
34
Hardware Connections:
35
35
IoT RedBoard --> BNO08x
36
- D25 --> CS
36
+ D5 --> CS
37
37
PICO --> SI
38
38
POCI --> SO
39
39
SCK --> SCK
@@ -57,7 +57,7 @@ BNO08x myIMU;
57
57
58
58
// For SPI, we need some extra pins defined:
59
59
// Note, these can be other GPIO if you like.
60
- #define BNO08X_CS 25
60
+ #define BNO08X_CS 5
61
61
#define BNO08X_INT A4
62
62
#define BNO08X_RST A5
63
63
Original file line number Diff line number Diff line change 30
30
31
31
Hardware Connections:
32
32
IoT RedBoard --> BNO08x
33
- D25 --> CS
33
+ D5 --> CS
34
34
PICO --> SI
35
35
POCI --> SO
36
36
SCK --> SCK
@@ -54,9 +54,9 @@ BNO08x myIMU;
54
54
55
55
// For SPI, we need some extra pins defined:
56
56
// Note, these can be other GPIO if you like.
57
- #define BNO08X_CS 25
58
- #define BNO08X_INT A4
59
- #define BNO08X_RST A5
57
+ #define BNO08X_CS 5
58
+ #define BNO08X_INT A4
59
+ #define BNO08X_RST A5
60
60
61
61
unsigned long lastMillis = 0 ; // Keep track of time
62
62
bool lastPowerState = true ; // Toggle between "On" and "Sleep"
You can’t perform that action at this time.
0 commit comments