Some board variant fixes (#6411)

* make work with rev C pcb

* use #define for easy testing
This commit is contained in:
Limor "Ladyada" Fried
2022-03-14 06:45:16 -04:00
committed by GitHub
parent e87b87d04c
commit ba8024c0d2
3 changed files with 13 additions and 13 deletions

View File

@ -11,8 +11,8 @@
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
static const uint8_t SWITCH = 9;
static const uint8_t NEOPIXEL_PIN = 2;
#define BUTTON 9
#define PIN_NEOPIXEL 2
static const uint8_t TX = 21;
static const uint8_t RX = 20;