/** * @file Blinky_LED.h * @brief Demo application using the mesh network * @author Hendrik Schutter * @date 20.01.2021 * * Additional Infos: If button "BOOT" on ESP32-Module is pressed, all LED2 (blue) in the network will toggle the state. */ #ifndef H_BLINKY_LED #define H_BLINKY_LED #include #include "esp_wifi.h" #include "esp_system.h" #include "esp_log.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/gpio.h" #include "Mesh_OTA.h" #define GPIO_BOOT_BTN 0 //GPIO0 (Boot BTN) #define GPIO_LED 2 //GPIO2 (internal blue LED in DevKit V1.0) #define GPIO_INPUT_PIN_SEL (1ULL<