view dmx_usb_module/pyout @ 2069:d678c2757cd4

config log() better. note that in chrome, you have to turn on 'verbose' in the console log to see anything :(
author drewp@bigasterisk.com
date Sat, 21 May 2022 17:06:25 -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"