Wrote SPI #defs and spiInit()