view dmx_usb_module/pyout @ 1772:66a55cb17cbf

notes on pyflame Ignore-this: c61ea1e1f74d3b44c1d0d6aa4f7d9b09
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 03 Jun 2018 11:19:12 +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"