SPI write now works