mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-04-09 03:11:29 +00:00
feat(dmx): implement DMX initialization and sending functionality
This commit is contained in:
parent
a2d51540b7
commit
5370e48d07
6 changed files with 91 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue