Pass data from DMX to existing universe handling code

This commit is contained in:
Will Tatam
2023-02-18 13:33:38 +00:00
parent ef48b1f5cd
commit 4903ec6bb9
2 changed files with 5 additions and 2 deletions

View File

@@ -102,6 +102,7 @@ void initDMX() {}
void handleDMXInput() {
dmx.update();
dmx.read(1); // TODO - handle code
DEBUG_PRINTF("DMX channel 1 = %u", dmx.read(1)); // TODO: remove from final code
handleDMXData(1, 512, e131_data, 1, REALTIME_MODE_DMX);
DEBUG_PRINTF("DMX channel 1 = %u\n", dmx.read(1)); // TODO: remove from final code
}
#endif