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

Python • Want to use a library in python typically that can be used as is in all Raspi Models (Raspi Zero 2W , Raspi 4B, Raspi 5i

$
0
0
I am looking for a library in python typically that can be used as is in all Raspi Models (Raspi Zero 2W , Raspi 4B, Raspi 5) Models.

I did start with Rpi.GPIO but seems those are now not used in the Raspi 5 and compute module 5,
There are other libraries such as gpiod, which is being used in raspi 5 and cm5 , but seems those are not properly documented, not sure whether they can be used in older Raspi Models.
Gpiozero does seem to solve the purpose, but is it the official supported library for opering GPIO in raspi models going forward for all models of Raspberry pi..?

Statistics: Posted by bhasky98 — Wed Jul 09, 2025 9:50 am



Viewing all articles
Browse latest Browse all 1584

Trending Articles