untested spi_comm and led_write