会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
程序之家
os .net vc++ asm driver wireless
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
77
下一页
2019年6月5日
No module named 'lsb_release'
摘要: python3.7安装后提示 No module named 'lsb_release' 修改"/usr/bin/lsb_release" #!/usr/bin/python3.5m -Es
阅读全文
posted @ 2019-06-05 14:54 ahuo
阅读(2482)
评论(0)
推荐(0)
2019年6月4日
tx1 gpio
摘要:
阅读全文
posted @ 2019-06-04 23:30 ahuo
阅读(256)
评论(0)
推荐(0)
python3 ssl导入失败
摘要: make LibreSSL 2.6.4 and earlier do not provide the necessary APIs /root/Python-3.7.0/build/lib.linux-armv7l-3.7 _ssl.cpython-37m-arm-linux-gnueabihf_f
阅读全文
posted @ 2019-06-04 14:23 ahuo
阅读(562)
评论(0)
推荐(0)
Linux tar: Cannot change ownership to [..]: Permission denied
摘要: tar xzf $INPUT_FOLDER/archive.tar.gz --no-same-owner -C /mnt/test-nas/
阅读全文
posted @ 2019-06-04 09:39 ahuo
阅读(550)
评论(0)
推荐(0)
2019年5月31日
树莓派蓝牙
摘要: bluetoothd -v 进入:bluetoothctl
阅读全文
posted @ 2019-05-31 09:43 ahuo
阅读(451)
评论(0)
推荐(0)
2019年5月30日
树莓派PWM
摘要: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(26, GPIO.OUT) p = GPIO.PWM(26, 100) #100 是频率 p.start(10) # p.start(dc) dc 代表占空比 0.0 ~ 100.0 try: while 1: ...
阅读全文
posted @ 2019-05-30 14:06 ahuo
阅读(1055)
评论(0)
推荐(0)
2019年5月29日
sysfs 控制gpio
摘要: 按照下面的命令点亮及熄灭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
阅读(222)
评论(0)
推荐(0)
Linux创建内存磁盘空间
摘要: 修改 /etc/fstab 启动自动mount tmpfs /var/iot tmpfs defaults,size=10M 0 0
阅读全文
posted @ 2019-05-29 21:15 ahuo
阅读(945)
评论(0)
推荐(0)
树莓派桌面自动启动程序
摘要: /home/pi/.config/lxsession/LXDE-pi/autostart 启动计算器 @galculator 浏览器 @chromium-browser http://127.0.0.1
阅读全文
posted @ 2019-05-29 16:25 ahuo
阅读(591)
评论(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
阅读(449)
评论(0)
推荐(0)
树莓派 pip 手动安装 和使用阿里云源
摘要: 在 /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
阅读(4815)
评论(0)
推荐(0)
2019年5月23日
树莓派开机启动
摘要: vi /etc/init.d/sss sudo update-rc.d sss defaults
阅读全文
posted @ 2019-05-23 17:09 ahuo
阅读(237)
评论(0)
推荐(0)
2019年5月16日
树莓派连接18b20测温度
摘要: 树莓派系统包含了18b20的驱动(1-wire interface),我们只需要将其开启即可。有两种开启方式: 方式一:输入raspi-config命令,然后在interfacing options –> 1-wire中设为enable。方式二:在/boot/config.txt文件中,添加dtov
阅读全文
posted @ 2019-05-16 09:09 ahuo
阅读(225)
评论(0)
推荐(0)
2019年5月15日
树莓派VNC
摘要: sudo raspi-configInterfacing Options -》 VNC1、停止VNC窗口: vncserver -kill:1 2、修改密码 vncpasswd 3、重启服务 service vncserver restart
阅读全文
posted @ 2019-05-15 15:53 ahuo
阅读(216)
评论(0)
推荐(0)
树莓派python 控制GPIO
摘要: sudo pip install rpi.gpio
阅读全文
posted @ 2019-05-15 13:00 ahuo
阅读(2614)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
77
下一页
公告