We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b069c1 commit 5e7f7a1Copy full SHA for 5e7f7a1
variants/grand_central_m4/variant.h
@@ -57,10 +57,10 @@ extern "C"
57
*----------------------------------------------------------------------------*/
58
59
// Number of pins defined in PinDescription array
60
-#define PINS_COUNT (94u)
61
-#define NUM_DIGITAL_PINS (53u)
62
-#define NUM_ANALOG_INPUTS (19u)
63
-#define NUM_ANALOG_OUTPUTS (2u)
+#define PINS_COUNT (94)
+#define NUM_DIGITAL_PINS (53)
+#define NUM_ANALOG_INPUTS (19)
+#define NUM_ANALOG_OUTPUTS (2)
64
#define analogInputToDigitalPin(p) ((p < 8) ? 67 + (p) : (p < 16) ? 54 + (p) - 8 : (p < 18) ? 12 + (p) - 16 : (p == 18) ? 9 : -1)
65
66
#define digitalPinToPort(P) ( &(PORT->Group[g_APinDescription[P].ulPort]) )
0 commit comments