Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Other • Re: Yocto SW Integration: gpiozero and lgpio for Raspberry Pi5

$
0
0
Have a read of this for the gpiozero pin factory https://gpiozero.readthedocs.io/en/stab ... in-factory
On a Pi5, run this test script to see it is using lgpio

Code:

from gpiozero import Device, LEDprint ("print Device.pin_factory. This will be None, as no device yet created")print(Device.pin_factory)print ("Now create an LED device and print pin_factory for Device")led = LED(21)print (Device.pin_factory)

Statistics: Posted by neilgl — Mon Dec 08, 2025 8:44 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles