updated SpiExample to use new SPI interface