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!
Categories
Raspberry Pi無料プランのMAUは25,000まで、さらに、Okta Connectionsが無制限になり、開発者のみなさんがアプリの開発に注力することができるようになりました。
User Ratings
User Reviews
-
retrojimmy Posted 2021年10月19日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.
-
sagonzal Posted 2020年09月03日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.
-
pencilpusher Posted 2019年12月03日Excellent, easy to use library. The docs might be the best I've ever seen supporting an open source library. Very clear and complete.1 user found this review helpful.
-
zugabanthr16 Posted 2019年05月17日Best tool for prototyping GPIO-related stuff on Raspberry PI.1 user found this review helpful.
-
adipres Posted 2017年10月26日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.