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 ef9cba6 commit 7fa575fCopy full SHA for 7fa575f
variants/uno2018/pins_arduino.h
@@ -30,7 +30,7 @@
30
#define NUM_TESTPOINT_PINS 0
31
//#define NUM_TOTAL_PINS (NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS + NUM_TESTPOINT_PINS)
32
#define NUM_TOTAL_PINS 41
33
-#define analogInputToDigitalPin(p) ((p < 6) ? (p) + 14 : -1)
+#define analogInputToDigitalPin(p) ((p < 6) ? (p) + 14 : NOT_A_PIN)
34
35
#define digitalPinHasPWM(p) ((p) == 3 || (p) == 5 || (p) == 6 || (p) == 9 || (p) == 10 || (p) == 11)
36
0 commit comments