You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on this page of the instructions, and I'm getting the following error when I run $sudo python3 servo_zeroing.py
Set servo to zero
Traceback (most recent call last):
File "servo_zeroing.py", line 14, in
Servo(pin).angle(10)
File "/usr/local/lib/python3.7/dist-packages/robot_hat-1.0.4-py3.7.egg/robot_hat/servo.py", line 12, in init
self.pwm.period(4095)
AttributeError: 'str' object has no attribute 'period'
The text was updated successfully, but these errors were encountered:
I'm on this page of the instructions, and I'm getting the following error when I run $sudo python3 servo_zeroing.py
Set servo to zero
Traceback (most recent call last):
File "servo_zeroing.py", line 14, in
Servo(pin).angle(10)
File "/usr/local/lib/python3.7/dist-packages/robot_hat-1.0.4-py3.7.egg/robot_hat/servo.py", line 12, in init
self.pwm.period(4095)
AttributeError: 'str' object has no attribute 'period'
The text was updated successfully, but these errors were encountered: