diff --git a/variants/RedBearLab_nRF51822/variant.cpp b/variants/RedBearLab_nRF51822/variant.cpp index 9a718bd9..46bdaa86 100644 --- a/variants/RedBearLab_nRF51822/variant.cpp +++ b/variants/RedBearLab_nRF51822/variant.cpp @@ -25,7 +25,7 @@ const uint32_t g_ADigitalPinMap[] = { 9, 10, 8, - 21, + // 21, 23, 16, 17, @@ -52,8 +52,8 @@ const uint32_t g_ADigitalPinMap[] = { // MISO, SCK, MOSI 22, - 25, - 30, + 20, + 21, // AREF diff --git a/variants/RedBearLab_nRF51822/variant.h b/variants/RedBearLab_nRF51822/variant.h index 3cceae5c..de939b31 100644 --- a/variants/RedBearLab_nRF51822/variant.h +++ b/variants/RedBearLab_nRF51822/variant.h @@ -72,8 +72,8 @@ static const uint8_t A5 = PIN_A5 ; #define SPI_INTERFACES_COUNT 1 #define PIN_SPI_MISO (22) -#define PIN_SPI_MOSI (24) -#define PIN_SPI_SCK (23) +#define PIN_SPI_MOSI (21) +#define PIN_SPI_SCK (20) static const uint8_t SS = 10 ; static const uint8_t MOSI = PIN_SPI_MOSI ; @@ -85,8 +85,8 @@ static const uint8_t SCK = PIN_SPI_SCK ; */ #define WIRE_INTERFACES_COUNT 1 -#define PIN_WIRE_SDA (20u) -#define PIN_WIRE_SCL (21u) +//#define PIN_WIRE_SDA (20u) +//#define PIN_WIRE_SCL (21u) static const uint8_t SDA = PIN_WIRE_SDA; static const uint8_t SCL = PIN_WIRE_SCL;