Download Arduino Mega 2560 Spi Pins Background. There are pin mappings to atmega8 and atmega 168/328 as well. These pins support spi communication using the spi library.
The spi pins are also broken out on the icsp header, which is physically compatible with the the mega2560 has 16 analog inputs, each of which provide 10 bits of resolution (i.e.
Arduino mega 2560 pin diagram. The library <spi.h> is included in the program for using the following functions for spi communication. These pins support spi communication using the spi library. The spi pins are also broken out on the icsp header, which is physically compatible with the uno, duemilanove and.