mirror of
https://github.com/apirrone/Open_Duck_Mini_Runtime.git
synced 2025-09-02 11:13:55 +00:00
trying to fix antennas twitching
This commit is contained in:
parent
2578393add
commit
d6b6a54a98
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Antennas:
|
|||
:param servo: 1 for the first servo, 2 for the second servo
|
||||
:param value: A float between -1 and 1
|
||||
"""
|
||||
print("servo {servo} : {value}")
|
||||
print(f"servo {servo} : {value}")
|
||||
if value < 0.1:
|
||||
if servo == 1 and not self.pwm1_set:
|
||||
self.pwm1.ChangeDutyCycle(7)
|
||||
|
|
Loading…
Reference in a new issue