view dmx_usb_module/pyout @ 2130:90f99b3f2b18

items() was broken; needs more typechecking or tests
author drewp@bigasterisk.com
date Sun, 05 Jun 2022 01:40:17 +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"