Search found 2 matches
- Thu Feb 03, 2022 3:28 pm
- Forum: ESP-IDF
- Topic: Stepper motor using freeRTOS task
- Replies: 2
- Views: 3029
Re: Stepper motor using freeRTOS task
Maybe this will help you. You can use ets_delay_us(stepper_delay); between steps. But, for example, every step 50 execute vTaskDelay(1); or you can disable wtd in stepper task esp_task_wdt_delete(NULL); esp_task_wdt_delete(xTaskGetIdleTaskHandleForCPU(0)); in the stepper task before the infinite loop
- Thu Feb 03, 2022 11:35 am
- Forum: General Discussion
- Topic: Storing a strucutre insde NVS
- Replies: 8
- Views: 14920
Re: Storing a strucutre insde NVS
You can see example how store struct at https://github.com/SergeyKupavtsev/nvs_component