feat(dmx): implement DMX initialization and sending functionality

This commit is contained in:
RaffaelW 2026-03-15 19:51:59 +01:00
parent a2d51540b7
commit 5370e48d07
6 changed files with 91 additions and 2 deletions

View file

@ -1,5 +1,6 @@
#include <stdio.h>
#include "dmx.h"
#include "esp_err.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
@ -28,6 +29,8 @@ void app_main(void) {
ESP_LOGI(TAG, "Web server started successfully");
ESP_LOGI(TAG, "Open http://192.168.4.1 in your browser");
init_dmx(DMX_NUM_1, 21, 33);
// Keep the app running
while (1) {
vTaskDelay(pdMS_TO_TICKS(1000));