starting with led configuration

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-05-17 22:05:39 +02:00
parent ed7a23256c
commit 82f0b3f02b
6 changed files with 86 additions and 22 deletions

View File

@@ -1,7 +1,18 @@
#include <stdio.h>
#include "remote_control.h"
void func(void)
{
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
void ble_init(void *args)
{
ESP_LOGI(pcTaskGetName(NULL), "Calling ble_init()");
while (1)
{
vTaskDelay(pdMS_TO_TICKS(100));
}
ESP_LOGI(pcTaskGetName(NULL), "Exiting ble_init()");
vTaskDelete(NULL);
}