trying to fix antennas twitching

This commit is contained in:
apirrone 2025-05-05 14:30:01 +02:00
parent 2578393add
commit d6b6a54a98

View file

@ -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)