spi code, about to change to uart