$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

 

相关文章:

  • 2022-12-23
  • 2021-10-01
  • 2021-08-11
  • 2021-07-05
  • 2022-12-23
  • 2021-04-10
  • 2021-06-10
  • 2021-04-20
猜你喜欢
  • 2022-12-23
  • 2021-07-25
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-09-15
相关资源
相似解决方案