• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

main/11-Mar-2024-12479

CMakeLists.txtD11-Mar-2024426 118

MakefileD11-Mar-2024279 113

README.mdD11-Mar-2024877 4226

sdkconfig.defaultsD11-Mar-2024157 43

README.md

1# ESP-Event asynchronous example
2
3(See the README.md file in the upper level 'examples' directory for more information about examples.)
4
5
6## How to use example
7
8### Configure the project
9
10```
11idf.py menuconfig
12```
13
14* Set serial port under Serial Flasher Options.
15
16### Build and Flash
17
18Build the project and flash it to the board, then run monitor tool to view serial output:
19
20```
21idf.py -p PORT flash monitor
22```
23
24(To exit the serial monitor, type ``Ctrl-]``.)
25
26See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.
27
28## Example Output
29
30The object is created twice, hence the started Eventloop and finished destruction lines appear twice.
31```
32NORMAL TESTING...
33received event: test/0; data: 47
34received event: test/1
35
36TIMEOUT TESTING...
37received event: test/0
38
39TIMEOUT for event: test/0
40I (10419) ESP Event C++ Async: Finished example
41```
42