# Pin connection

**URL:** <https://forum.arduino.cc/t/pin-connection/613444>\
**Category:** Sensors\
**Created:** [October 2, 2019, 3:36pm UTC](https://forum.arduino.cc/t/pin-connection/613444 "2019-10-02T15:36:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [October 2, 2019, 4:56pm UTC](https://forum.arduino.cc/t/pin-connection/613444/4 "2019-10-02T16:56:29Z")

</div>

SPI uses the SCK, MOSI, MISO and CS (or SS) pins. Those pins are 52, 51, 50 and 53 (defalut) on a Mega. Those pins are also available on the ICSP connector.

 ![mega icsp.jpg](https://europe1.discourse-cdn.com/arduino/original/4X/1/3/4/134aaa6bee2453ffde4397e595db3e4e612a1d9f.jpeg)

 ![mega icsp.jpg](https://europe1.discourse-cdn.com/arduino/original/4X/1/3/4/134aaa6bee2453ffde4397e595db3e4e612a1d9f.jpeg)

---

_[View the full topic](https://forum.arduino.cc/t/pin-connection/613444)._
