$sudo apt-get update $sudo apt-get install python-dev $sudo apt-get install python-rpi.gpio
安装:
- rpio – 监控和操作 GPIO 的命令行工具
- rpio-curses – 终端窗口中拥有图形用户界面的 rpio
$ sudo apt-get install python-setuptools
$ sudo easy_install -U RPIO
$sudo apt-get update $sudo apt-get install python-dev $sudo apt-get install python-rpi.gpio
安装:
$ sudo apt-get install python-setuptools
$ sudo easy_install -U RPIO