摘要: 按照下面的命令点亮及熄灭LED pi@raspberrypi:/sys/class/gpio $echo 26 > exportpi@raspberrypi:/sys/class/gpio $ cd gpio26pi@raspberrypi:/sys/class/gpio/gpio26 $ lsac 阅读全文
posted @ 2019-05-29 22:13 ahuo 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 修改 /etc/fstab 启动自动mount tmpfs /var/iot tmpfs defaults,size=10M 0 0 阅读全文
posted @ 2019-05-29 21:15 ahuo 阅读(923) 评论(0) 推荐(0) 编辑
摘要: /home/pi/.config/lxsession/LXDE-pi/autostart 启动计算器 @galculator 浏览器 @chromium-browser http://127.0.0.1 阅读全文
posted @ 2019-05-29 16:25 ahuo 阅读(566) 评论(0) 推荐(0) 编辑
摘要: sudo vi /etc/lightdm/lightdm.conf 取消其中的注释 #xserver-command=X 并修改为 xserver-command=X -s 0 -dpms -s # –设置屏幕保护不启用dpms 关闭电源节能管理重启树莓派 sudo reboot 阅读全文
posted @ 2019-05-29 16:17 ahuo 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 在 /etc/pip.conf 添加如下内容,启用源 [global] extra-index-url=https://www.piwheels.org/simple 下载后 pip install **.whl 安装 国内源: 新版ubuntu要求使用https源,要注意。 清华:https:// 阅读全文
posted @ 2019-05-29 14:23 ahuo 阅读(4692) 评论(0) 推荐(0) 编辑