public example from Adafruit_BBIO SPI