nRF52840 tested and WORKING

This commit is contained in:
Phillip Burgess 2020-03-17 17:36:46 -07:00
parent 20c3b67bc3
commit e1659f270c
2 changed files with 3 additions and 1 deletions

2
arch.h
View file

@ -617,6 +617,8 @@ _PM_minMinPeriod: Mininum value for the "minPeriod" class member,
//return count; //return count;
} }
#define _PM_clockHoldHigh asm("nop; nop");
#define _PM_minMinPeriod 100 #define _PM_minMinPeriod 100
#endif // NRF52_SERIES #endif // NRF52_SERIES

View file

@ -75,7 +75,7 @@ RGB+clock are on different PORTs on nRF52840.
uint8_t clockPin = 13; uint8_t clockPin = 13;
uint8_t latchPin = 0; uint8_t latchPin = 0;
uint8_t oePin = 1; uint8_t oePin = 1;
#else // SAMD21 #elif defined(_SAMD21_)
uint8_t rgbPins[] = {6, 7, 10, 11, 12, 13}; uint8_t rgbPins[] = {6, 7, 10, 11, 12, 13};
uint8_t addrPins[] = {0, 1, 2, 3}; uint8_t addrPins[] = {0, 1, 2, 3};
uint8_t clockPin = SDA; uint8_t clockPin = SDA;