I am trying to get my ESP32 to transmit DMX data, but cannot find a library. Does anyone know of any?

Erick_98
Posts: 1
Joined: Wed May 13, 2020 7:25 pm

I am trying to get my ESP32 to transmit DMX data, but cannot find a library. Does anyone know of any?

Postby Erick_98 » Wed May 13, 2020 8:12 pm

#include <ESPDMX.h>

DMXESPSerial dmx;

void setup() {
dmx.init(); // initialization for first 32 addresses by default
//dmx.init(512) // initialization for complete bus
delay(200); // wait a while (not necessary)
}

void loop() {

dmx.write(3, 0); // channal 3 off
dmx.write(1, 255); // channal 1 on
dmx.update(); // update the DMX bus
delay(1000); // wait for 1s

dmx.write(1, 0);
dmx.write(2, 255);
dmx.update();
delay(1000);

dmx.write(2, 0);
dmx.write(3, 255);
dmx.update();
delay(1000);

}

idahowalker
Posts: 166
Joined: Wed Aug 01, 2018 12:06 pm

Re: I am trying to get my ESP32 to transmit DMX data, but cannot find a library. Does anyone know of any?

Postby idahowalker » Thu May 14, 2020 6:14 pm

Have you tried using your favorite internet search engine using the words
esp32 dmx library
?

Who is online

Users browsing this forum: Glen104TMR and 87 guests