Files @ 771f50f19b4b
Branch filter:

Location: light9/bin/bcf_puppet_demo

Drew Perttula
single-line effect code now evals by changing <uri> into a suitable python object
Ignore-this: cde829f021be54bc7cfd63bddde43aa9
#!/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()