Skip to content

Commit

Permalink
Fix stop value.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdicola committed Dec 28, 2017
1 parent 8c0d35e commit e08fb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_drv2605.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def play(self):

def stop(self):
"""Stop vibrating the motor."""
self._write_u8(_DRV2605_REG_GO, 1)
self._write_u8(_DRV2605_REG_GO, 0)

@property
def mode(self):
Expand Down

0 comments on commit e08fb6e

Please sign in to comment.