mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-06-30 04:21:00 +02:00
Add some missing defines
fixes: https://github.com/espressif/arduino-esp32/issues/76 fixes: https://github.com/espressif/arduino-esp32/issues/5 fixes: https://github.com/espressif/arduino-esp32/issues/91
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#define NUM_DIGITAL_PINS 40
|
||||
#define NUM_ANALOG_INPUTS 16
|
||||
|
||||
#define analogInputToDigitalPin(p)
|
||||
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
|
||||
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
|
||||
#define digitalPinHasPWM(p) (p < 34)
|
||||
|
||||
|
Reference in New Issue
Block a user