Skip to content

Commit

Permalink
floatだった
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeSasaki committed Jul 9, 2019
1 parent 06eec44 commit 5b56fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raspberry_pi/lib/servo/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ def __exit__(self, exception_type, exception_value, traceback):
args = sys.argv
with servo(int(args[1])) as sv:
while True:
sv.rotate(int(args[2]))
sv.rotate(float(args[2]))

1 comment on commit 5b56fc8

@RyosukeSasaki
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使いやすさ向上

Please sign in to comment.