Raspberry PiのGPIOピンを操作するためのライブラリである「RPi.GPIO」を紹介します。 1-1.GPIOとは GPIO (general-purpose input/output) ピンとは様々な用途に使用できるピンであり、ピンに下記のような機能を割り当てることが出来ます。 GPIOとは?機能や使用例は?
前回Raspberry PiのGPIOピンを操作するためのライブラリ「RPi.GPIO」を紹介しましたが、こちらはRaspberry Pi5では使用できませんでした。 今回はRaspberry Pi5でも使用できる「gpiod」を紹介します。 GPIO (general-purpose input/output) ピンとは様々な用途に使用できるピンで ...
This tutorial provides an introduction to basic GPIO (general purpose input/output) programming. It starts with an example for a low-level access to the GPIO registers which are described in section ...