Files @ f066d6e874db
Branch filter:

Location: light9/bin/bcf_puppet_demo - annotation

drewp@bigasterisk.com
2to3 with these fixers: all idioms set_literal
Ignore-this: cbd28518218c2f0ddce8c4f92d3b8b33
#!/usr/bin/python
"""
tiny bcf2000 controller demo
"""
from bcf2000 import BCF2000
from twisted.internet import reactor


class PuppetSliders(BCF2000):

    def valueIn(self, name, value):
        if name == 'slider1':
            self.valueOut('slider5', value)


b = PuppetSliders()
reactor.run()