To get started with RPi.GPIO, it would be worthwhile reading the examples in the project wiki (link above).
Note that this module is unsuitable for real-time or timing critical applications. This is because you can not predict when Python will be busy garbage collecting. It also runs under the Linux kernel which is not suitable for real time applications - it is multitasking O/S and another process may be given priority over the CPU, causing jitter in your program. If you are after true real-time performance and predictability, buy yourself an Arduino! (see http://www.arduino.cc )
Note that the current release does not support SPI, I2C, 1-wire or serial functionality on the RPi yet. This is planned for the near future - watch this space!
-
Ubuntu Core Snap failing to build RPI GPIO
-
Please have a look at https://github.com/phylax2020/RPi.GPIO
-
remove_event_detect() may produce a memory access error - system exit
-
Unable to run using archlinux armv8
-
Update: I upgraded from Bullseye to Bookworm (with this as a guide), and everything continued working as it should. Possible packaging problem by Raspberry Pi?
Categories
Raspberry PiUser Reviews
-
I came across this project from a web search trying to understand GPIO inputs (pull up/down resistors, bounce etc.) and the wiki article on inputs was very well written. I registered with Source Forge just to be able to comment/review: Thank you to anyone for taking the time on this.
-
Very good project, very easy to use and I would say, essential to anyone who wish the explore the outskirts of the Raspberry PI through the general purpose I/O pins. The support of the developer is outstanding.
-
Excellent, easy to use library. The docs might be the best I've ever seen supporting an open source library. Very clear and complete.
-
Best tool for prototyping GPIO-related stuff on Raspberry PI.
-
Really great and easy to access. Far easier to use than GPIOZERO - their documentation is intended to lower the entry bar, but really, one ends up jogging through their doc to find info.