Skip to content

Commit

Permalink
Use PA7 for LED_BUILTIN
Browse files Browse the repository at this point in the history
It doesn't have any interesting special functions, and all the chips
have it. Why not use the same port pin everywhere?
  • Loading branch information
SpenceKonde committed Jul 8, 2019
1 parent 32b87f5 commit 8ded2ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion megaavr/variants/txy4/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static const uint8_t SCL = PIN_WIRE_SCL;
#define PIN_WIRE_HWSERIAL0_RX (4)
#define PIN_WIRE_HWSERIAL0_TX (5)

#define LED_BUILTIN 4 //FIXME
#define LED_BUILTIN 3 //FIXME


#define PIN_A0 (11)
Expand Down
2 changes: 1 addition & 1 deletion megaavr/variants/txy6/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ static const uint8_t SCL = PIN_WIRE_SCL;
#define PIN_WIRE_HWSERIAL0_RX (6)
#define PIN_WIRE_HWSERIAL0_TX (7)

#define LED_BUILTIN 4
#define LED_BUILTIN 3

#define PIN_A0 (17)
#define PIN_A1 (14)
Expand Down
2 changes: 1 addition & 1 deletion megaavr/variants/txy7/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static const uint8_t SCL = PIN_WIRE_SCL;
#define PIN_WIRE_HWSERIAL0_RX (8)
#define PIN_WIRE_HWSERIAL0_TX (9)

#define LED_BUILTIN 4
#define LED_BUILTIN 3

#define PINS_COUNT (22u)

Expand Down

0 comments on commit 8ded2ca

Please sign in to comment.