mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-13 22:54:59 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -741,7 +741,7 @@ static void led_task (void *pyParameter) {
|
||||
while(1)
|
||||
{
|
||||
ESP_LOGI(TAG, "Turning the LED %s!", s_led_state == true ? "ON" : "OFF");
|
||||
gpio_set_level(BLINK_GPIO, true);//s_led_state);
|
||||
gpio_set_level(BLINK_GPIO, s_led_state);//s_led_state);
|
||||
vTaskDelay(CONFIG_BLINK_PERIOD / portTICK_PERIOD_MS);
|
||||
s_led_state = !s_led_state;
|
||||
}
|
||||
|
Reference in New Issue
Block a user