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

Python • Re: Raspberry Pi 5 - gpiod vs RPi.GPIO

$
0
0
old school RPI user here, I've had numerous models of each release, since the very beginning.
I've always been more geared towards the electronics projects utilizing the GPIO, so I'm very well versed in the RPi.GPIO library.

I realize a lot of users focus more on things like PiHole, gaming consoles, media servers etc... more just OS based ones, but for somebody who's loved tinkering with GPIO projects over the last 12 years, this switch over to completely different library was a bit of a shock.
I just got my 8gig Pi5 setup last week, and was excited to start working on my hack of my 433Mhz wireless shades in my condo, and I was surprised and little perturbed that none of the code I'd had working on the 4 will work on the 5.
Not only that, but this GPIOD package's functions have completely unrelated syntax. It's a whole new entirely different "language" compared to how one used to communicate with the pins for the last decade+

Yeah, yeah, software is always updating and growing and changing, but I for one was a bit pissed to run up against this.

Statistics: Posted by Corvidael — Sun Jan 21, 2024 6:47 pm



Viewing all articles
Browse latest Browse all 1234

Trending Articles