started working on version that uses SPIlib
this ought to work