Skip to content

Commit 6bfc86f

Browse files
committed
Update variant
1 parent c2c8a79 commit 6bfc86f

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

variants/BAST_FRONTIER/pins_arduino.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,19 @@ static const uint8_t MISO1 = PIN_SPI1_MISO;
126126
static const uint8_t SCK1 = PIN_SPI1_SCK;
127127

128128
// Wire
129-
#define PIN_WIRE_SDA (3u)
130-
#define PIN_WIRE_SCL (2u)
129+
#define PIN_WIRE_SDA (2u)
130+
#define PIN_WIRE_SCL (3u)
131131

132132
//Interrups
133-
#define PIN_INT_APDS (23u)
134-
#define PIN_INT_LIS3 (24u)
135-
#define PIN_INT_LSM6 (25u)
133+
#define PIN_INT_APDS (29u)
134+
#define PIN_INT_MPU9 (30u)
135+
#define PIN_INT_LPS2 (31u)
136136

137137
// PDM Interfaces
138138
// ---------------
139-
#define PIN_PDM_PWR (20u)
140-
#define PIN_PDM_CLK (21u)
141-
#define PIN_PDM_DIN (22u)
139+
#define PIN_PDM_PWR (26u)
140+
#define PIN_PDM_CLK (27u)
141+
#define PIN_PDM_DIN (28u)
142142

143143
// These serial port names are intended to allow libraries and architecture-neutral
144144
// sketches to automatically default to the correct port name for a particular type

variants/BAST_FRONTIER/variant.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ PinDescription g_APinDescription[] = {
8080
{ P0_13, NULL, NULL, NULL }, // D2/SDA
8181
{ P0_14, NULL, NULL, NULL }, // D3/SCL
8282
{ P0_3, NULL, NULL, NULL }, // D4/SCK
83-
{ P1_1, NULL, NULL, NULL }, // D5
84-
{ P0_24, NULL, NULL, NULL }, // D6
83+
{ P1_4, NULL, NULL, NULL }, // D5
84+
{ P1_3, NULL, NULL, NULL }, // D6
8585
{ P0_26, NULL, NULL, NULL }, // D7/COPI
8686
{ P0_30, NULL, NULL, NULL }, // D8/CIPO
8787

8888
// D9 - D12
89-
{ P1_3, NULL, NULL, NULL }, // D9
90-
{ P0_10, NULL, NULL, NULL }, // D10/NFC2
91-
{ P0_9, NULL, NULL, NULL }, // D11/NFC1
92-
{ P1_2, NULL, NULL, NULL }, // D12
89+
{ P1_2, NULL, NULL, NULL }, // D9
90+
{ P1_1, NULL, NULL, NULL }, // D10/NFC2
91+
{ P0_24, NULL, NULL, NULL }, // D11/NFC1
92+
{ P0_9, NULL, NULL, NULL }, // D12
9393

9494
// D13 - LED
95-
{ P1_4, NULL, NULL, NULL }, // D13
95+
{ P0_10, NULL, NULL, NULL }, // D13
9696

9797
// D14..D19 - A0 - A5
9898
{ P0_4, NULL, NULL, NULL }, // A0
@@ -116,9 +116,9 @@ PinDescription g_APinDescription[] = {
116116
{ P0_21, NULL, NULL, NULL }, // PDM DIN
117117

118118
// 29..31 - Internal Interrupts
119-
{ P0_17, NULL, NULL, NULL }, // INT APDS
120-
{ P0_16, NULL, NULL, NULL }, // INT LIS3MDL
121-
{ P0_15, NULL, NULL, NULL }, // INT LSM6DS33
119+
{ P0_16, NULL, NULL, NULL }, // INT APDS9960
120+
{ P0_15, NULL, NULL, NULL }, // INT MPU9250
121+
{ P0_17, NULL, NULL, NULL }, // INT LPS22HB
122122

123123
// 32..40 - RADIO LORA SX1262
124124
{ P1_13, NULL, NULL, NULL }, // CIPO - MISO

0 commit comments

Comments
 (0)