The analog pins can also be used as digital pins

This commit is contained in:
Kristian Lauszus 2014-08-24 17:10:50 -07:00
parent a3db3d9451
commit af4c3f673c

View file

@ -948,7 +948,7 @@ MAKE_PIN(P78, PIOB, PIO_PB23); // Unconnected
#endif #endif
#elif defined(__ARDUINO_X86__) #elif defined(__ARDUINO_X86__) // Intel Galileo
#include <avr/pgmspace.h> #include <avr/pgmspace.h>
@ -989,6 +989,12 @@ MAKE_PIN(P10, 10);
MAKE_PIN(P11, 11); MAKE_PIN(P11, 11);
MAKE_PIN(P12, 12); MAKE_PIN(P12, 12);
MAKE_PIN(P13, 13); 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 #undef MAKE_PIN