We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6558a commit 4a0b18eCopy full SHA for 4a0b18e
variants/esp32c2/pins_arduino.h
@@ -4,17 +4,10 @@
4
#include <stdint.h>
5
#include "soc/soc_caps.h"
6
7
-#define EXTERNAL_NUM_INTERRUPTS 14
8
-#define NUM_DIGITAL_PINS 14
9
-#define NUM_ANALOG_INPUTS 5
10
11
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT-13;
12
#define BUILTIN_LED LED_BUILTIN // backward compatibility
13
-#define LED_BUILTIN LED_BUILTIN
14
-
15
-#define analogInputToDigitalPin(p) (((p)<NUM_ANALOG_INPUTS)?(analogChannelToDigitalPin(p)):-1)
16
-#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
17
-#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
+#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
18
19
static const uint8_t TX = 20;
20
static const uint8_t RX = 19;
0 commit comments