This commit is contained in:
j3d1 2022-05-29 22:31:59 +02:00
parent 9969738043
commit a0e8c00c17

View file

@ -34,7 +34,7 @@ extern "C" void lux_task(void *pvParameters) {
while(1) {
spi_transfer_8(1, cnt++);
vTaskDelay(1);
for(volatile int i = 0; i < 1000000; i++);
spi_transfer_8(1, 0x00);
vTaskDelay(1000/portTICK_PERIOD_MS);