update adafruit rp2040 board define

This commit is contained in:
hathach 2021-02-19 10:50:50 +07:00
parent 1b849fc70a
commit c245305f72
3 changed files with 13 additions and 1 deletions

View File

@ -31,9 +31,13 @@
extern "C" {
#endif
#define LED_PIN 14
#define LED_PIN 13
#define LED_STATE_ON 1
#define NEOPIXEL_PIN 16
#define NEOPIXEL_POWER_PIN 17
#define NEOPIXEL_POWER_STATE 1
// Button pin is BOOTSEL which is flash CS pin
#define BUTTON_BOOTSEL
#define BUTTON_STATE_ACTIVE 0

View File

@ -34,6 +34,10 @@
#define LED_PIN 11
#define LED_STATE_ON 1
#define NEOPIXEL_PIN 17
#define NEOPIXEL_POWER_PIN 16
#define NEOPIXEL_POWER_STATE 1
// Button pin is BOOTSEL which is flash CS pin
#define BUTTON_BOOTSEL
#define BUTTON_STATE_ACTIVE 0

View File

@ -35,6 +35,10 @@
#define LED_PIN 11
#define LED_STATE_ON 1
#define NEOPIXEL_PIN 12
#define NEOPIXEL_POWER_PIN 11
#define NEOPIXEL_POWER_STATE 1
// Button pin is BOOTSEL which is flash CS pin
#define BUTTON_BOOTSEL
#define BUTTON_STATE_ACTIVE 0