This example shows how to use the ESP Timer feature to create timers and execute callback functions. On the linked page, you will find detailed information about the feature as well as the functions ...
* 1. a periodic timer which will run every 0.5s, and print a message * 2. a one-shot timer which will fire after 5s, and re-start periodic * timer with period of 1s.