mirror of https://github.com/ARMmbed/mbed-os.git
Changed LED mapping to RGB
Changed the pin mapping for LED1, LED2, and LED3, to Red, Green, and Blue respectively. This matches the KL25Z and LPC11U68, and makes more sense in my opinion.pull/321/head
parent
e441e0aa4f
commit
1073702cd2
|
@ -39,10 +39,10 @@ typedef enum {
|
|||
LED_BLUE = P1_1,
|
||||
|
||||
// mbed original LED naming
|
||||
LED1 = LED_BLUE,
|
||||
LED1 = LED_RED,
|
||||
LED2 = LED_GREEN,
|
||||
LED3 = LED_RED,
|
||||
LED4 = LED_RED,
|
||||
LED3 = LED_BLUE,
|
||||
LED4 = LED_BLUE,
|
||||
|
||||
// Serial to USB pins
|
||||
USBTX = P0_18,
|
||||
|
|
Loading…
Reference in New Issue