This commit is contained in:
j3d1 2022-05-29 23:55:38 +02:00
parent c31bff2b33
commit be54d8b8f7

View file

@ -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);