trying divider from demo code
moved spi call into loop