15+ Arduino Mega Pinout Spi Photos. I use arduino mega1280, who has spi pins in: Following figure shows the pinout of arduino mega 2560.
The spi pins are also broken out on the icsp. Here one arduino will act as master and another one will act as slave, two leds and push buttons will be connected to both the arduinos. The arduino software (ide) includes a wire library to simplify.
The arduino mega 2560 is designed for more complex projects.
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 Each of the 54 digital pins on the arduino 2560 mega can be used as an input or output, using pinmode(), digitalwrite(), and these pins support spi communication using the spi library. These pins support spi communication using the spi library. 50, 51, 52 (and 53 as cs).