From af4c3f673c22147c82fd5a4e765b4aa06cd64f62 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Sun, 24 Aug 2014 17:10:50 -0700 Subject: [PATCH] The analog pins can also be used as digital pins --- avrpins.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/avrpins.h b/avrpins.h index b19897b8..b7d05b38 100644 --- a/avrpins.h +++ b/avrpins.h @@ -948,7 +948,7 @@ MAKE_PIN(P78, PIOB, PIO_PB23); // Unconnected #endif -#elif defined(__ARDUINO_X86__) +#elif defined(__ARDUINO_X86__) // Intel Galileo #include @@ -989,6 +989,12 @@ MAKE_PIN(P10, 10); MAKE_PIN(P11, 11); MAKE_PIN(P12, 12); MAKE_PIN(P13, 13); +MAKE_PIN(P14, 14); // A0 +MAKE_PIN(P15, 15); // A1 +MAKE_PIN(P16, 16); // A2 +MAKE_PIN(P17, 17); // A3 +MAKE_PIN(P18, 18); // A4 +MAKE_PIN(P19, 19); // A5 #undef MAKE_PIN