gpiozero
gpiozero copied to clipboard
A simple interface to GPIO devices with Raspberry Pi
Operating system: Debian GNU/Linux 12 (bookworm) Pi version: Raspberry Pi 5 Model B Rev 1.0 Python version: 3.11.2 gpiozero version: 2.0.1 I have python program that uses gpiozero to control...
Operating system: Arch Linux Python version: Python 3.12.1 Pi model: Raspberry Pi 5 Model B Rev 1.1 GPIO Zero version: gpiozero==2.0.1, pigpio==1.78 Pin factory used: pigpio Looks like it does...
I'm using AngularServo i'm getting the following warning: /usr/lib/python3/dist-packages/gpiozero/output_devices.py:1509: PWMSoftwareFallback: To reduce servo jitter, use the pigpio pin factory.See https://gpiozero.readthedocs.io/en/stable/api_output.html#servo for more info warnings.warn(PWMSoftwareFallback( I know I can use pigpio...
Operating system: Raspbian Buster Python version: e.g. 3.7.3 Pi model: Pi 4 Model B GPIO Zero version: gpiozero-2.0 Pin factory used: e.g. RPiGPIO Why is setuptools a run-time requirement for...
When controling some relays, I noticed a "blip" (quick open/close) during setup. The culprit seems to be in the `output_with_state` function. I fixed it by overriding it in `LGPIOPin`, as...
Device name: binary led board Protocol: GPIO Further information e.g. data sheet: A composite output device consisting of n LEDs that, when assigned a value from 0 to 2^n-1, lights...
I've added the ModMyPiStar to control this [star](https://thepihut.com/products/raspberry-pi-christmas-tree-star). This class is based on their [github repo](https://github.com/modmypi/Programmable-Christmas-Star). Also, I've added the doc and build the HTML part without issues. If you...
Currently, the method `_set_state(value)` of `LGPIOPin` forces the input duty cycle to a whole percentage: ```python self._pwm = (freq, int(value * 100)) ``` This leads to poor angular resolution when...