Open marm1te opened 9 months ago
just chiming in as a user of the library--the RGB values going in to PyDMXControl should always be ints in your code... I think the author would have to add a lot of extra code throughout the library to handle other variable types.
If you can point to somewhere within PyDMXControl that is resulting in floats being stored in channels, please let me know. But otherwise yes, the library expects to be working with ints, DMX doesn't understand floats.
Hi, sorry I just relaunched the work on my project. Will inform you, if I find out, why there is a float generated in the controller.
Hi fellow,
thanks a looot for your library. Real nice work.
I ran into an issue (can't tell you the origin), but by using a constant stream following line in _Controller.py might create a float, which later on will crash the program:
i placed an int() around the val[0]. Not sure if that's in general a good idea.
but it fixed the issue, that otherwise at this call would break the runtime.
as you see I made a try / except for myself.