Changeset - b7fb7b2649fd
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 10 years ago 2015-06-13 06:39:03
drewp@bigasterisk.com
bug in setting rgb
Ignore-this: 380aa2d0c907faf69749636426d8de17
2 files changed with 2 insertions and 7 deletions:
0 comments (0 inline, 0 general)
light9/effecteval/effectloop.py
Show inline comments
 
@@ -214,7 +214,7 @@ class ControlBoard(object):
 
        """
 
        if color.shape != (1, 3):
 
            raise ValueError("color was %s" % color.shape)
 
        self._dev.write('\x60\x04%s' + self._8bitMessage(color))
 
        self._dev.write('\x60\x04' + self._8bitMessage(color))
 
        self._dev.flush()
 

	
 
        
rgbled/nanostrip.cc
Show inline comments
 
@@ -55,12 +55,7 @@ int main(void) {
 
  init();
 
  pinMode(debugLed, OUTPUT);
 

	
 
  pinMode(3, OUTPUT);
 
  pinMode(6, OUTPUT);
 
  pinMode(9, OUTPUT);
 
  pinMode(10, OUTPUT);
 
  pinMode(11, OUTPUT);
 
  
 
    
 
  strip0.begin();
 
  strip1.begin();
 
  intro(); 
0 comments (0 inline, 0 general)