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 843a428 commit 6190ce6Copy full SHA for 6190ce6
cores/arduino/Arduino.h
@@ -121,8 +121,8 @@ void analogReference(uint8_t);
121
void analogReadResolution(uint8_t resolution);
122
uint8_t analogReadResolution();
123
124
-constexpr uint16_t NUM_DIGITAL_PINS = 160;
125
-constexpr uint16_t NUM_ANALOG_INPUTS = LPC176x::analog_input_count;
+#define NUM_DIGITAL_PINS 160
+#define NUM_ANALOG_INPUTS 8
126
127
// Get the digital pin for an analog index
128
constexpr pin_t analogInputToDigitalPin(const int8_t channel) {
0 commit comments