pySimpleDMX
pySimpleDMX copied to clipboard
Adding Python3 compatibility
I've been testing using a UltraDMX Micro and a 1ByOne disco ball ($35 Amazon). Seems to run fine using both Python 2.7.11 and 3.5.1 .
- Use bytearray() to concatenate bytes
- Removed sys.exit()
- Use logging instead of print
- Added a auto_commit argument to the constructor
- Updated setup to indicate 3.5 compatibility
Dude that's awesome. Still getting issues with my device saying it couldn't open on COM4. Not sure what I'm doing wrong
Try the python2 version, of the original code. I tested on MacOS X and a Rasp Pi2 running Debian - in both cases, there is a special device file in /dev that is created.
@c0z3n any chance of this getting merged?