Skip to content

Commit

Permalink
add missing defines for 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mariopesch committed Feb 19, 2024
1 parent 27e79cd commit c2862ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions variants/sensebox_mcu_esp32s2/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
#define USB_FW_MSC_VOLUME_NAME "senseBox" // max 11 chars
#define USB_FW_MSC_SERIAL_NUMBER 0x00000000

#define EXTERNAL_NUM_INTERRUPTS 46
#define NUM_DIGITAL_PINS 48
#define NUM_ANALOG_INPUTS 20

#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
#define digitalPinHasPWM(p) (p < 46)

#define PIN_NEOPIXEL 1 // NeoPixel LED
#define NEOPIXEL_PIN 1 // NeoPixel LED
#define NEOPIXEL_NUM 1 // number of neopixels
Expand Down

0 comments on commit c2862ef

Please sign in to comment.