Replies: 1 comment 2 replies
-
Interesting. I haven't had issues with choppy input. I haven't personally written code that concurrently handles sACN and DMX so I am guessing that is part of the issue. Have you looked into FreeRTOS tasks at all? I would try using a FreeRTOS task to receive DMX data. This way, you can block the task when no DMX is received. This also may solve the choppiness problems. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to get a project working on an M5 core, with the DMX module, and the DMX data coming in keeps jumping between the right values, and 0... also, data received isn't smooth, it receives a bunch of data, and then nothing, and then a bunch of data, then nothing.
I am running with
if (dmx_receive(DMX_NUM_1, &packet, 0)) {}
because I am also listening for sACN packets if no DMX wired data comes in, and updating other parts of the setup.I am asking here, because i'm not sure where to go next, or what specific question to ask,
The same data (coming from QLC+) sent on sACN is working well and stable, on wired DMX it works ok sometimes though laggy, and completely random at other times.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions