摘要: 使用树莓派的一些简单方便操作,不定期更新 我使用的是树莓派4B,系统是Raspbian Desktop,Buster版本: 下面的方式,亲测有效。 1. 查看温度 cat /sys/class/thermal/thermal_zone0/temp #除以1000就是摄氏度 另一种方式是使用树莓派提供 阅读全文
posted @ 2020-05-01 23:34 castor_xu 阅读(109) 评论(0) 推荐(0) 编辑
摘要: talk is cheap,show me your code. #include<iostream> #include<wiringPi.h> #include <signal.h> using namespace std; // LED Pin - wiringPi pin 0 is BCM_G 阅读全文
posted @ 2020-05-01 17:44 castor_xu 阅读(195) 评论(0) 推荐(0) 编辑