view dmx_usb_module/pyout @ 929:c20c2eea6fce

another hack to stop graphfile from thinking its own new empty file means it should delete all the statements in that context Ignore-this: 94639afbbe8d3a0abd8a06e16922394f
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 11 Jun 2013 20:25:02 +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"