Mercurial > code > home > repos > light9
diff bcf2000.py @ 362:fc87327e29c4
CC now attaches to hardware sliders and knobs. tres cool. KC gets a --sliders option to enable the sliders
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Fri, 15 Jun 2007 06:04:55 +0000 |
parents | bd8a89743226 |
children | 551f06733559 |
line wrap: on
line diff
--- a/bcf2000.py Fri Jun 15 04:29:44 2007 +0000 +++ b/bcf2000.py Fri Jun 15 06:04:55 2007 +0000 @@ -99,6 +99,7 @@ assert len(which) == 1, "unknown control name %r" % name if isinstance(value, bool): value = value * 127 + #print "bcf: write %s %s" % (name, value) self.dev.write(chr(0xb0) + chr(which[0]) + chr(int(value)))