Python • Re: How do I learn how to use lgpio?
You should probably use gpiod going forward.https://pypi.org/project/gpiod/Statistics: Posted by ame — Wed May 21, 2025 8:16 pm
View ArticlePython • Python OBD error messages
I successfully installed OBD in a virtual environment but when I hit the instruction "import obd", it seems to go through the obd modules but continues down the path to PINT and generates error...
View ArticlePython • Re: Python OBD error messages
How did you install the module?And pls post the full error message.Statistics: Posted by DirkS — Mon May 26, 2025 6:20 pm
View ArticlePython • slow network connect
I have a pi5 16gb running a python 3.12 server with fastapi and a minicomputer with a php server which makes curl call to the pi whenever it needs data (every minute or so). Mostly, the pi answers the...
View ArticlePython • Re: slow network connect
What logging do you have in the python code on the Pi5? If none, now would be a good time to add some.In addition to the logging, many folks here will likely want to see your python code. Please post...
View ArticlePython • gpiozero button.when_pressed not working with While True: loop
Hello,Total Python noob here -- I'm an experienced Node/JS dev but I don't know Python very well yet, so forgive me if this is a dumb question.I've got a Pimoroni Display Hat Mini and I'm using the...
View ArticlePython • Re: gpiozero button.when_pressed not working with While True: loop
The following works fine for me on a Pi5 (Pi OS Bookworm) with a button between GND and GPIO26.https://pinout.xyz/pinout/pin37_gpio26/Post a runnable test example or your complete code.Check your...
View Article