nRF52840 tested and WORKING
This commit is contained in:
parent
20c3b67bc3
commit
e1659f270c
2 changed files with 3 additions and 1 deletions
2
arch.h
2
arch.h
|
|
@ -617,6 +617,8 @@ _PM_minMinPeriod: Mininum value for the "minPeriod" class member,
|
|||
//return count;
|
||||
}
|
||||
|
||||
#define _PM_clockHoldHigh asm("nop; nop");
|
||||
|
||||
#define _PM_minMinPeriod 100
|
||||
|
||||
#endif // NRF52_SERIES
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ RGB+clock are on different PORTs on nRF52840.
|
|||
uint8_t clockPin = 13;
|
||||
uint8_t latchPin = 0;
|
||||
uint8_t oePin = 1;
|
||||
#else // SAMD21
|
||||
#elif defined(_SAMD21_)
|
||||
uint8_t rgbPins[] = {6, 7, 10, 11, 12, 13};
|
||||
uint8_t addrPins[] = {0, 1, 2, 3};
|
||||
uint8_t clockPin = SDA;
|
||||
|
|
|
|||
Loading…
Reference in a new issue