Raspberry Pi 4B C和Python开发环境安装

  • C编译环境wiringPi安装

    安装步骤参照 wiringPi官网
    目前针对Raspberry Pi 4B的版本是2.5.2
cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb

检查版本

gpio -v

  • Python环境安装

sudo apt-get update
sudo apt-get install idle-python2.7

猜你喜欢

转载自www.cnblogs.com/fjlinww/p/11761520.html