summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-10-31 21:35:40 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-10-31 21:35:40 +0300
commit16d6aee534a0f23b56f3a7a0a76e71efb384b396 (patch)
tree35fbe27d31ab43cd48f59672b6bb1a550efdf9f3
parentf5dde543a1832bc24e4bc117a769549e5aadd784 (diff)
-rwxr-xr-xexample.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/example.py b/example.py
index cb12a9f..3f5f24e 100755
--- a/example.py
+++ b/example.py
@@ -29,7 +29,6 @@ if __name__ == '__main__':
raise ValueError(f'invalid degree value in {state_file}')
except (IOError, ValueError) as e:
logging.exception(e)
- start_degree = default_degree
servo = MG996R(args.pin, start_degree)
servo.move(args.deg)