correct pca10056 pins
This commit is contained in:
1 parent
3e4e6f9bac
commit
d5dc04de03
4 files changed
+11
-11
No files matched your search
+1
-1
@@ -14,7 +14,7 @@
|
||||
- ExternalFS use fatfs to manage external spi flash (nrf52840 only) for usb msc.
|
||||
- Replace cpritnf by std printf
|
||||
- Added HwPWM3 for nRF52840
|
||||
- Added ISR_DEFERRED for attachInterrupt() for deferring callback from ISR context
|
||||
- Added ISR_DEFERRED option for attachInterrupt() to defer callback from ISR context
|
||||
- Added digital_interrupt_deferred sketch for demo
|
||||
|
||||
## 0.8.6
|
||||
|
||||
@@ -41,14 +41,14 @@ HardwarePWM HwPWM0(NRF_PWM0);
|
||||
HardwarePWM HwPWM1(NRF_PWM1);
|
||||
HardwarePWM HwPWM2(NRF_PWM2);
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
#ifdef NRF_PWM3
|
||||
HardwarePWM HwPWM3(NRF_PWM3);
|
||||
#endif
|
||||
|
||||
HardwarePWM* HwPWMx[] =
|
||||
{
|
||||
&HwPWM0, &HwPWM1, &HwPWM2
|
||||
#ifdef NRF52840_XXAA
|
||||
#ifdef NRF_PWM3
|
||||
,&HwPWM3
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -100,7 +100,7 @@ extern HardwarePWM HwPWM0;
|
||||
extern HardwarePWM HwPWM1;
|
||||
extern HardwarePWM HwPWM2;
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
#ifdef NRF_PWM3
|
||||
extern HardwarePWM HwPWM3;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -60,8 +60,8 @@ extern "C"
|
||||
#define PIN_A3 (29)
|
||||
#define PIN_A4 (30)
|
||||
#define PIN_A5 (31)
|
||||
#define PIN_A6 (26)
|
||||
#define PIN_A7 (27)
|
||||
#define PIN_A6 (42)
|
||||
#define PIN_A7 (43)
|
||||
|
||||
static const uint8_t A0 = PIN_A0 ;
|
||||
static const uint8_t A1 = PIN_A1 ;
|
||||
@@ -92,9 +92,9 @@ static const uint8_t AREF = PIN_AREF;
|
||||
*/
|
||||
#define SPI_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SPI_MISO (47)
|
||||
#define PIN_SPI_MOSI (46)
|
||||
#define PIN_SPI_SCK (45)
|
||||
#define PIN_SPI_MISO (46)
|
||||
#define PIN_SPI_MOSI (45)
|
||||
#define PIN_SPI_SCK (47)
|
||||
|
||||
static const uint8_t SS = 44 ;
|
||||
static const uint8_t MOSI = PIN_SPI_MOSI ;
|
||||
@@ -106,8 +106,8 @@ static const uint8_t SCK = PIN_SPI_SCK ;
|
||||
*/
|
||||
#define WIRE_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_WIRE_SDA (43)
|
||||
#define PIN_WIRE_SCL (42)
|
||||
#define PIN_WIRE_SDA (26)
|
||||
#define PIN_WIRE_SCL (27)
|
||||
|
||||
/*
|
||||
* QSPI interface for external flash
|
||||
|
||||
Reference in new issue
Block a user