Inital code on adding DMX input support

This commit is contained in:
Will Tatam
2023-02-18 13:17:09 +00:00
parent da3acc4627
commit 77d7567707
4 changed files with 13 additions and 0 deletions

View File

@@ -94,3 +94,11 @@ void initDMX() {
void handleDMX() {}
void initDMX() {}
#endif
#ifdef WLED_ENABLE_DMX_INPUT
void handleDMXInput() {
dmx.update();
dmx.read(1); // TODO - handle code
DEBUG_PRINTF("DMX channel 1 = %u", dmx.read(1)); // TODO: remove from final code
}
#endif