Added SPI example code