view dmx_usb_module/pyout @ 1470:b1d8abc96f06

don't run rotations to zero when no one is requesting them. Ignore-this: 48894c486ba3ac9a229a3b34d4b81a0b
author drewp@bigasterisk.com
date Sun, 12 Jun 2016 19:05:45 +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"