-
-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Hi,
i cant get this lib to work. my init code looks like this:
#define DMX_TX 7
#define DMX_RX 6
#define DMX_DIR 5
dmx_port_t dmxPort = 1;
dmx_packet_t packet;
byte dmxData[512];
dmx_config_t config = DMX_CONFIG_DEFAULT;
dmx_personality_t personalities[] = {};
int personality_count = 0;
dmx_driver_install(dmxPort, &config, personalities, personality_count);
dmx_set_pin(dmxPort, DMX_TX, DMX_RX, DMX_DIR);
// between this i use functions to fill the byteArray dmxData //
void loop() {
dmx_write(dmxPort, dmxData, 512);
dmx_send(dmxPort);
dmx_wait_sent(dmxPort, DMX_TIMEOUT_TICK);
delay(30);
}
my esp is a esp32 from heltec (wifi kit 32), with 240mhz clock.
observation: i have a cheap par56 led with an LED on the Backside which blinks when using a dmx controller. the blinking pattern is much faster when using the esp as a sender.
can some1 help?