#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);
}
I am trying to get my ESP32 to transmit DMX data, but cannot find a library. Does anyone know of any?
-
- 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?
Have you tried using your favorite internet search engine using the words
?esp32 dmx library
Who is online
Users browsing this forum: No registered users and 64 guests