-Add configurable PWM frequency and duty cycle for external LED control

-Reworked Kconfig menu structure for better organization
This commit is contained in:
PhosphorosVR
2025-08-08 21:26:06 +02:00
parent 6b3e130f12
commit 2346d0ec6c
9 changed files with 156 additions and 95 deletions

View File

@@ -25,8 +25,8 @@
#include <UVCStream.hpp>
#endif
#define BLINK_GPIO (gpio_num_t) CONFIG_BLINK_GPIO
#define CONFIG_LED_C_PIN_GPIO (gpio_num_t) CONFIG_LED_C_PIN
#define BLINK_GPIO (gpio_num_t) CONFIG_LED_BLINK_GPIO
#define CONFIG_LED_C_PIN_GPIO (gpio_num_t) CONFIG_LED_EXTERNAL_GPIO
esp_timer_handle_t timerHandle;
QueueHandle_t eventQueue = xQueueCreate(10, sizeof(SystemEvent));