add spi support
Merge pull request #4 from alaczynski/spi

add spi support