view dmx_usb_module/pyout @ 1127:b0b9b4616e16

try serial writing in other thread(s) Ignore-this: ec59a76e9afcaf530d68aa245991b89a
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 13 Jun 2014 08:04: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"