view dmx_usb_module/pyout @ 1596:7d5d6e7bc526

collector web view speedups- don't json encode all devs all the time Ignore-this: ed01dc070b5e21303b0a62ff5d814b30
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 03 Jun 2017 19:58:42 +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"