Files @ 3c523c71da29
Branch filter:

Location: light9/bin/bcf_puppet_demo

Drew Perttula
pyflakes cleanups and some refactors
Ignore-this: f7372e678699175feb4e628eee3d768c
#!/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()