Skip to content

Commit 0b069c1

Browse files
authored
Merge pull request arduino#143 from GMagician/fix-analog-count
Update nr of analog input
2 parents 751cec6 + 56b5392 commit 0b069c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/grand_central_m4/variant.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extern "C"
5959
// Number of pins defined in PinDescription array
6060
#define PINS_COUNT (94u)
6161
#define NUM_DIGITAL_PINS (53u)
62-
#define NUM_ANALOG_INPUTS (16u)
62+
#define NUM_ANALOG_INPUTS (19u)
6363
#define NUM_ANALOG_OUTPUTS (2u)
6464
#define analogInputToDigitalPin(p) ((p < 8) ? 67 + (p) : (p < 16) ? 54 + (p) - 8 : (p < 18) ? 12 + (p) - 16 : (p == 18) ? 9 : -1)
6565

0 commit comments

Comments
 (0)