#pyb_DMX
This module tries to make it slightly simpler to send DMX512 messages to lights
Here is a very simple example of how it works, ideally write_frame() should be done on a timer interrupt as DMX lights expect a regular message
# create a dmx device on UART port 1dmx1=dmx.universe(1)# Set the channel(s) to the value you wantDMX1.set_channels({1:i})# Send the messageDMX1.write_frame()