昨晚还在用raspberry-gpio-python 0.5.9版本发现不支持最新的Raspberry Pi 2
提示:
RuntimeError: This module can only be run on a Raspberry Pi!
今天中午刚准备用午休时间自己修改一下做下支持,结果发现两个小时前,作者刚更新好
0.5.10
------- Issue 95 - support RPi 2 boards
- Introduce RPI_INFO
- Deprecate RPI_REVISION
- Issue 97 - fixed docstring for setup()
下载地址
http://sourceforge.net/projects/raspberry-gpio-python/files/