05 January 2013 Raspberry Pi GPIO入出力のサンプル(Python, C言語, shellスクリプト) Raspberry PiのGPIO端子から入出力できるか、試してみる。RPi Low-level peripheralsを参考にした。 ■ Python Python用モジュールが既にインストールされているか確認する。 $ sudo apt-cache --names-only search gpio python-rpi.gpio - Python GPIO module for Raspberry Pi python3-rpi.gpio - Python 3 GPIO module for Raspberry Pi $ sudo dpkg -l | grep -e "python.*gpio" ii python-rpi.gpio 0.4.1a-1 ar