stash
This commit is contained in:
parent
c31bff2b33
commit
be54d8b8f7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ extern "C" void lux_task(void *pvParameters) {
|
|||
uint8_t buf[2];
|
||||
spi_transfer_8(1, charset[cnt++]);
|
||||
for(volatile int i = 0; i < 100; i++);
|
||||
spi_read(1, 0x00, buf, 2, 1);
|
||||
spi_read(1, 0x00, buf, 2, SPI_8BIT);
|
||||
|
||||
char hex[5];
|
||||
int_to_hex(buf[0], hex);
|
||||
|
|
Loading…
Reference in a new issue