Init all onboard LEDs for pca10056
Need to init the 2 missing onboard LEDs for pca10056.
This commit is contained in:
1 parent
ceca3f28fd
commit
cfcc1c486f
1 file changed
+8
-2
@@ -39,11 +39,17 @@ const uint32_t g_ADigitalPinMap[] =
|
||||
|
||||
void initVariant()
|
||||
{
|
||||
// LED1 & LED2
|
||||
// init all 4 onboard LEDs
|
||||
pinMode(PIN_LED1, OUTPUT);
|
||||
ledOff(PIN_LED1);
|
||||
|
||||
pinMode(PIN_LED2, OUTPUT);
|
||||
ledOff(PIN_LED2);;
|
||||
ledOff(PIN_LED2);
|
||||
|
||||
pinMode(PIN_LED3, OUTPUT);
|
||||
ledOff(PIN_LED3);
|
||||
|
||||
pinMode(PIN_LED4, OUTPUT);
|
||||
ledOff(PIN_LED4);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user