Connecting 2 Photon via SPI

Hi @Anglix

I wrote and tested some code over here to test i2c between two Photons:

The thing that everyone seems to forget is that you need a common ground between the devices. So for SPI, you would need MOSI, MISO, SCK and GND between the devices. You technically don't need a chip select unless you have other SPI devices on the same lines, but it doesn't hurt to add the SS wire.