Hello, i am a relatively new raspi user. I'm trying to simply rotate a servo (ES08AII if it matters) with GPIOzero; but when i try to run the code:
it returns with:
line 1528 is currently:How do i fix this?
Code:
from gpiozero import LED, ServovPin = LED(16)testServo = Servo(18)vPin.ontestServo.max
After i got this message the first time i changed the "pin_factory" variable on line 1528 of/usr/lib/python3/dist-packages/gpiozero/output_devices.pyPWMSoftwareFallback: To reduce servo jitter, use the pigpio pin factory.See https://gpiozero.readthedocs.io/en/stab ... html#servo for more info
warnings.warn(PWMSoftwareFallback(
to/lib/python3/dist-packages/gpiozero/output_devices.py
, but it still responds with the same message.PiGPIOFactory
line 1528 is currently:
Code:
pin_factory=PiGPIOFactory
Statistics: Posted by wetmanux — Fri Dec 06, 2024 1:40 am