Skip to content

Commit 62f9212

Browse files
author
Adafruit Adabot
committed
fix SPI definition - tested with TFT Gizmo
1 parent 343c946 commit 62f9212

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

variants/circuitplayground_nrf52840/variant.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ static const uint8_t A9 = PIN_A9 ;
100100
*/
101101
#define SPI_INTERFACES_COUNT 1
102102

103-
#define PIN_SPI_MISO (6)
104-
#define PIN_SPI_MOSI (9)
105-
#define PIN_SPI_SCK (10)
103+
#define PIN_SPI_MISO (10)
104+
#define PIN_SPI_MOSI (2)
105+
#define PIN_SPI_SCK (3)
106106

107-
static const uint8_t SS = (5);
107+
static const uint8_t SS = (0);
108108
static const uint8_t MOSI = PIN_SPI_MOSI ;
109109
static const uint8_t MISO = PIN_SPI_MISO ;
110110
static const uint8_t SCK = PIN_SPI_SCK ;

0 commit comments

Comments
 (0)