标签:
博主原创:https://i.cnblogs.com/EditPosts.aspx?opt=1
1 #!/bin/sh 2 cd / 3 echo "安装git-core" 4 sudo apt-get install git-core 5 echo "下载winringPi库" 6 git clone git://git.drogon.net/wiringPi 7 echo "编译和安装库" 8 cd wiringPi 9 sudo ./build 10 echo "另外大家可以使用下面的命令对库进行更新" 11 cd wiringPi 12 sudo git pull origin 13 echo "在/wiringPi/examples目录中有一些例子,例如test1,运行如下 " 14 sudo ./test1
标签:
原文地址:http://www.cnblogs.com/jikexianfeng/p/5859473.html