Browse files

slow down I2C speed since we have long bus, fix a typo in blink logic

  • Loading branch information...
rambo committed May 12, 2012
1 parent 74b6d24 commit 3d6996465645df14f1290f703502f8b75cc4f713
@@ -22,7 +22,7 @@ void setup()
I2c.timeOut(500); // 500ms timeout to avoid lockups
I2c.pullup(false); //Disable internal pull-ups
- I2c.setSpeed(true); // Fast-mode support
+ I2c.setSpeed(false); // Fast-mode support disabled
@@ -112,7 +112,7 @@ def cell_melt_warning_reset(self, x, y, z, sender):
def start_blink(self, ledid, interval=250, maxpwm=255):
- if not self.config['top_led_map'].has_key(ledid):
+ if not self.config['top_led_map']['led_ids'].has_key(ledid):
return False
if self.blink_states.has_key(ledid):
return False

0 comments on commit 3d69964

Please sign in to comment.