Skip to content

Commit e08fb6e

Browse files
committed
Fix stop value.
1 parent 8c0d35e commit e08fb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_drv2605.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def play(self):
144144

145145
def stop(self):
146146
"""Stop vibrating the motor."""
147-
self._write_u8(_DRV2605_REG_GO, 1)
147+
self._write_u8(_DRV2605_REG_GO, 0)
148148

149149
@property
150150
def mode(self):

0 commit comments

Comments
 (0)