Search found 2 matches
- Wed Aug 08, 2018 5:23 pm
- Forum: ESP32 Arduino
- Topic: ESP32 Create task with dynamic value parameter
- Replies: 4
- Views: 7657
Re: ESP32 Create task with dynamic value parameter
Just use FreeRTOS tasks and queues. Create a task for BLE operations, and another for task for I2C, then have the BLE task send the commands through a queue to the I2C task. Doing it this way will be completely event driven and prevent CPU time from being wasted by polling. Hello ESP_Dazz, Thank yo...
- Mon Aug 06, 2018 12:09 pm
- Forum: ESP32 Arduino
- Topic: ESP32 Create task with dynamic value parameter
- Replies: 4
- Views: 7657
ESP32 Create task with dynamic value parameter
Hello all, I would like to have your advice on a project that I'm trying to accomplish with my ESP32, and before going to the question I'll give you some context. I want to use my ESP32 to control 8 DC motors by interpreting commands/data from BLE or/and WIFI. The motors will be controlled by sendin...