Skip to content

Commit

Permalink
correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sf105 committed Apr 8, 2013
1 parent 3fb9871 commit 1f44959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/i2c-button-blink
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ with closing(i2c.I2CMaster()) as bus:

try:
while True:
led.value = (not led.value) and button_pin.value
led.value = (not led.value) and button.value
sleep(0.5)
finally:
chip.reset()
Expand Down

0 comments on commit 1f44959

Please sign in to comment.