view dmx_usb_module/pyout @ 2193:f79fff92990b

collector.output use asyncio loop, not twisted loop. other cleanups.
author drewp@bigasterisk.com
date Sat, 20 May 2023 19:20:52 -0700
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"