annotate dmx_usb_module/pyout @ 1208:6dcd6a84322a

checkpoint show data Ignore-this: 9e3505fd2065425373a4b8d704127df4
author drewp@bigasterisk.com
date Tue, 17 Jun 2014 04:56:17 +0000
parents 2b2ad8e7cb9f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
355
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
1
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
2 from dmx import Dmx
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
3
875
2b2ad8e7cb9f update dmx_usb. ok on kernel 3.5.0
Drew Perttula <drewp@bigasterisk.com>
parents: 355
diff changeset
4 d = Dmx(port="/dev/dmx1")
355
4e60444605f6 add dmx_usb_module
drewp@bigasterisk.com
parents:
diff changeset
5 while 1:
875
2b2ad8e7cb9f update dmx_usb. ok on kernel 3.5.0
Drew Perttula <drewp@bigasterisk.com>
parents: 355
diff changeset
6 d.write("\x00" * 100)
2b2ad8e7cb9f update dmx_usb. ok on kernel 3.5.0
Drew Perttula <drewp@bigasterisk.com>
parents: 355
diff changeset
7 print "wrote"