Skip to content

Commit

Permalink
change LED and BUTTON pins
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Telkamp committed Dec 3, 2019
1 parent a29efd7 commit f258763
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions variants/STM32L476RE-LS200/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ extern "C"
#define analogInputToDigitalPin(p) ((p < 6u) ? (p) + 14u : -1)

// LEDs
#define PIN_LED_13 (13u)
#define PIN_LED_RXL (25u)
#define PIN_LED_TXL (26u)
#define PIN_LED PIN_LED_13
#define PIN_LED2 PIN_LED_RXL
#define PIN_LED3 PIN_LED_TXL
#define LED_BUILTIN PIN_LED_13
#define PIN_LED_7 (7u)
// #define PIN_LED_RXL (25u)
// #define PIN_LED_TXL (26u)
#define PIN_LED PIN_LED_7
// #define PIN_LED2 PIN_LED_RXL
// #define PIN_LED3 PIN_LED_TXL
#define LED_BUILTIN PIN_LED_7

/*
* Analog pins
Expand Down Expand Up @@ -116,7 +116,7 @@ static const uint8_t DAC1 = PIN_DAC1;
#define PIN_ATN (38ul)
static const uint8_t ATN = PIN_ATN;

#define PIN_BUTTON (44l)
#define PIN_BUTTON (0l)
static const uint8_t BUTTON = PIN_BUTTON;

/*
Expand Down

0 comments on commit f258763

Please sign in to comment.