FreeRtos: cpp and c - blink examples

DL88AI88
Posts: 29
Joined: Mon Aug 29, 2016 8:26 am

FreeRtos: cpp and c - blink examples

Postby DL88AI88 » Thu Apr 13, 2017 7:07 am

Hi there,

one can use freertos on esp32 with c-code as well as with cpp.
To see the slight differences in the code, please find attached a simple blink example for both.
Each example runs two tasks, each task blinks an led.

One can use them as a beginning programming in cpp or c using freertos.

The file originate from this discussion here:
viewtopic.php?f=2&t=1591

@espressif: If you find these examples useful, feel free to add them to your examples at esp-idf on github.

Have fun

DL88AI88
Attachments
blink.c.zip
(940 Bytes) Downloaded 735 times
cppblink.cpp.zip
(1009 Bytes) Downloaded 783 times

Who is online

Users browsing this forum: No registered users and 22 guests