mirror of
https://github.com/thearn/Python-Arduino-Command-API.git
synced 2026-01-11 23:48:19 -05:00
Add missing position.
This commit is contained in:
@@ -444,6 +444,7 @@ class Servos(object):
|
||||
return 1
|
||||
|
||||
def detach(self, pin):
|
||||
position = self.servo_pos[pin]
|
||||
cmd_str = build_cmd_str("svd", (position,))
|
||||
try:
|
||||
self.sr.write(cmd_str)
|
||||
|
||||
Reference in New Issue
Block a user