mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
ports: Add LED pin aliases for all Arduino boards.
The standard Arduino pinout uses LEDR/G/B and LED_BUILTIN (if available). This patch adds aliases to match the standard pinout, while retaining LED_RED/GREEN/BLUE for compatibility with existing scripts and examples. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
committed by
Damien George
parent
8d9d74b6df
commit
4a2e510a87
@@ -13,12 +13,16 @@ D11,GPIO7
|
||||
D12,GPIO4
|
||||
D13,GPIO6
|
||||
LED,GPIO6
|
||||
LED_BUILTIN,GPIO6
|
||||
A0,GPIO26
|
||||
A1,GPIO27
|
||||
A2,GPIO28
|
||||
A3,GPIO29
|
||||
SDA,GPIO12
|
||||
SCL,GPIO13
|
||||
LEDR,EXT_GPIO0
|
||||
LEDG,EXT_GPIO1
|
||||
LEDB,EXT_GPIO2
|
||||
LED_RED,EXT_GPIO0
|
||||
LED_GREEN,EXT_GPIO1
|
||||
LED_BLUE,EXT_GPIO2
|
||||
|
||||
|
Reference in New Issue
Block a user