kopia lustrzana https://github.com/meshtastic/firmware
Revert "Fix LED pinout for T-Echo board marked v1.0" (#3304)
* Revert "Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 (#3051)"
This reverts commit c2afa879b8
.
* Remove / comment out unused LED pins
pull/3322/head
rodzic
495840c777
commit
9b3e519487
|
@ -43,16 +43,12 @@ extern "C" {
|
|||
#define NUM_ANALOG_OUTPUTS (0)
|
||||
|
||||
// LEDs
|
||||
#define PIN_LED1 (0 + 14) // blue (confirmed on boards marked v1.0, date 2021-6-28)
|
||||
#define PIN_LED2 (32 + 1) // green
|
||||
#define PIN_LED3 (32 + 3) // red
|
||||
#define PIN_LED1 (0 + 14) // 13 red (confirmed on 1.0 board)
|
||||
// Unused(by firmware) LEDs:
|
||||
// #define PIN_LED2 (0 + 15) // 14 blue
|
||||
// #define PIN_LED3 (0 + 13) // 15 green
|
||||
|
||||
#define LED_RED PIN_LED3
|
||||
#define LED_BLUE PIN_LED1
|
||||
#define LED_GREEN PIN_LED2
|
||||
|
||||
#define LED_BUILTIN LED_BLUE
|
||||
#define LED_CONN PIN_GREEN
|
||||
#define LED_BUILTIN PIN_LED1
|
||||
|
||||
#define LED_STATE_ON 0 // State when LED is lit
|
||||
#define LED_INVERTED 1
|
||||
|
@ -232,4 +228,4 @@ External serial flash WP25R1635FZUIL0
|
|||
* Arduino objects - C++ only
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue