36+ Arduino Mega Spi Pinout Images. The spi pins are also broken out on the icsp header, which is physically compatible with note that these pins are not in the same location as the twi pins on the duemilanove or diecimila. These pins support spi communication using the spi library.
These pins are used for serial communication with spi protocol for communication between 2 or more devices. Spi enable bit must be set to start communication with. Typically there are three lines common to all the devices:
As described earlier that the arduino mega is based on the atmega 2560 the pinout of the atmega 2560 microcontroller chip is shown in the following figure
These pins support spi communication using the spi library. I use arduino mega1280, who has spi pins in: The spi pins are also broken out on the icsp header, which is physically compatible with the the mega 2560 also supports twi and spi communication. 1.3.1 input and output spi: