Commit Graph

14 Commits

Author SHA1 Message Date
Arne
a204b83d16 make compile after rebase 2023-09-24 13:30:17 +02:00
Arne
4a8d3e3df1 Move dmx_input into its own task on core 0.
This was necessary because otherwise it is not able to respond to rdm in time.
2023-09-24 13:30:17 +02:00
Arne
2465e2edc3 keep dmx rdm identify on if dmx disconnects.
Some rdm testers disconnect after setting it.
2023-09-24 13:30:09 +02:00
Arne
03b164f94c Support dmx rdm personality change 2023-09-24 13:30:09 +02:00
Arne
1e9e9875bb comments and cleanup 2023-09-24 13:30:09 +02:00
Arne
11552de977 handle rdm dmx address changes 2023-09-24 13:30:09 +02:00
Arne
6262cf4bce extract creation of dmx config into own method 2023-09-24 13:30:09 +02:00
Arne
fd239ac75f Monitor dmx personality and dmx start address for change and update rdm 2023-09-24 13:30:09 +02:00
Arne
e098230bf2 extract test for rdm identify into own method 2023-09-24 13:30:09 +02:00
Arne
7d4aeb7fab add enable/disable methods for dmxInput 2023-09-24 13:30:09 +02:00
Arne
369c728c2c handle dmx rdm identify 2023-09-24 13:30:09 +02:00
Arne
f4c8a31be9 Turn dmx_into into class with state.
This is much nicer to read and in the future more state will be added to support all the rdm stuff.
2023-09-24 13:30:09 +02:00
Arne
3ee003a400 Move globals to top of file and change scope to compile unit only.
Some minor cleanup changes
2023-09-24 13:30:09 +02:00
Arne
b4bbf0a5cb Extract dmx_input from dmx.cpp into dmx_input.cpp.
This greatly improves readability because it gets rid of most of the
ifdefs.
2023-09-24 13:30:09 +02:00