Skip to main content

Timeline for ESP32 send data while blinking LED

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Aug 19, 2021 at 3:00 history tweeted twitter.com/StackArduino/status/1428189979642146816
Jun 28, 2021 at 13:10 vote accept P_K
Jun 24, 2021 at 10:08 comment added StarCat My opinion is that using multiple cores for extremely simple tasks such as blinking an LED is unnecessarily complex.
Jun 23, 2021 at 18:14 comment added Sim Son Take a look at the blink-without-delay example to get an idea of how "multitasking" can be implemented. But as @HigorMaiaConcessa mentioned, the ESP supports FreeRTOS where you don't have to care much about how it works.
Jun 23, 2021 at 14:19 answer added Arcaniaco timeline score: 1
Jun 22, 2021 at 14:27 comment added StarCat Sure you can. You can use something like the BlinkWithoutDelay example included in the Arduino IDE so that your program can run (for example sending MQTT data) while the LED is turned on and off with the correct frequency. As long as sending the MQTT data does not take longer than the on- or off period of the LED, this will work.
Jun 22, 2021 at 13:34 history asked P_K CC BY-SA 4.0