view dmx_usb_module/pyout @ 1950:19c2e6216cf8

support disconnect() on a reconnectingWebSocket to make it stop connecting Ignore-this: db2fa6ff2ccdeadecf1fc7a1d144535c
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 06 Jun 2019 00:07:07 +0000
parents 2b2ad8e7cb9f
children
line wrap: on
line source


from dmx import Dmx

d = Dmx(port="/dev/dmx1")
while 1:
    d.write("\x00" * 100)
    print "wrote"