This commit is contained in:
j3d1 2022-05-29 22:42:25 +02:00
parent a0e8c00c17
commit 0384453744

View file

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