Skip to content

Commit 919a914

Browse files
committed
add CS pin for IoT RedBoard RP2350; cleanout the I2C_BUS defines
1 parent 52046e4 commit 919a914

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

examples/Example05_NavigationSPI/Example05_NavigationSPI.ino

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,30 +47,30 @@
4747
//
4848
// Example pins tested for various SparkFun boards:
4949

50-
// // ESP32 thing plus
50+
// ESP32 thing plus
5151
// #define IRQ_PIN 16
5252
// #define RST_PIN 21
53-
// #define I2C_BUS 0
53+
// #define CS_PIN
5454

5555
// ESP32 thing plus C
5656
// #define IRQ_PIN 32
5757
// #define RST_PIN 14
58-
// #define I2C_BUS 0
58+
// #define CS_PIN
5959

6060
// ESP32 IoT RedBoard
61-
#define IRQ_PIN 26
62-
#define RST_PIN 27
63-
#define CS_PIN 25
61+
// #define IRQ_PIN 26
62+
// #define RST_PIN 27
63+
// #define CS_PIN 25
6464

6565
// rp2350 thing plus
6666
// #define IRQ_PIN 11
6767
// #define RST_PIN 12
68-
// #define I2C_BUS 0
68+
// #define CS_PIN
6969

7070
// rp2350 RedBoard IoT
71-
// #define IRQ_PIN 29
72-
// #define RST_PIN 28
73-
// #define I2C_BUS 0
71+
#define IRQ_PIN 29
72+
#define RST_PIN 28
73+
#define CS_PIN 21
7474

7575
// State flags to manage sensor startup/state
7676
bool startNavigation = true;

examples/Example06_EnrollSPI/Example06_EnrollSPI.ino

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,27 +73,27 @@
7373
// ESP32 thing plus
7474
// #define IRQ_PIN 16
7575
// #define RST_PIN 21
76-
// #define I2C_BUS 0
76+
// #define CS_PIN
7777

7878
// ESP32 thing plus C
7979
// #define IRQ_PIN 32
8080
// #define RST_PIN 14
81-
// #define I2C_BUS 0
81+
// #define CS_PIN
8282

8383
// ESP32 IoT RedBoard
84-
#define IRQ_PIN 26
85-
#define RST_PIN 27
86-
#define CS_PIN 25
84+
// #define IRQ_PIN 26
85+
// #define RST_PIN 27
86+
// #define CS_PIN 25
8787

8888
// rp2350 thing plus
8989
// #define IRQ_PIN 11
9090
// #define RST_PIN 12
91-
// #define I2C_BUS 0
91+
// #define CS_PIN
9292

9393
// rp2350 RedBoard IoT
94-
// #define IRQ_PIN 29
95-
// #define RST_PIN 28
96-
// #define I2C_BUS 0
94+
#define IRQ_PIN 29
95+
#define RST_PIN 28
96+
#define CS_PIN 21
9797

9898
// variable used to keep track of the number of enrolled templates on the sensor
9999
uint16_t numberOfTemplates = 0;

0 commit comments

Comments
 (0)