mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
boards/esp8266: fix ARDUINO_LED definitions
ARDUINO_LED specifies the according Arduino pin to which the LED is connected and not the GPIO.
This commit is contained in:
parent
350a0bbbb3
commit
51200364da
@ -27,9 +27,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief The on-board LED is connected to pin 2 on this board
|
||||
* @brief The on-board LED is connected to GPIO2 (Arduino pin 3) on this board
|
||||
*/
|
||||
#define ARDUINO_LED (GPIO2)
|
||||
#define ARDUINO_LED (3)
|
||||
|
||||
/**
|
||||
* @brief Look-up table for the Arduino's digital pins
|
||||
|
@ -25,9 +25,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief The on-board LED is connected to pin 2 on this board
|
||||
* @brief The on-board LED is connected to GPIO1 (Arduino pin 0) on this board
|
||||
*/
|
||||
#define ARDUINO_LED (GPIO1)
|
||||
#define ARDUINO_LED (0)
|
||||
|
||||
/**
|
||||
* @brief Look-up table for the Arduino's digital pins
|
||||
|
@ -25,9 +25,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief The on-board LED is connected to pin 2 on this board
|
||||
* @brief The on-board LED is connected to GPIO5 (Arduino pin 6) on this board
|
||||
*/
|
||||
#define ARDUINO_LED (GPIO5)
|
||||
#define ARDUINO_LED (6)
|
||||
|
||||
/**
|
||||
* @brief Look-up table for the Arduino's digital pins
|
||||
|
Loading…
Reference in New Issue
Block a user