上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: IO21=>SDAIO22=>SCL 阅读全文
posted @ 2021-12-06 15:15 盛世芳华 阅读(689) 评论(0) 推荐(0) 编辑
摘要: #include <HardwareSerial.h> //导入ESP32串口操作库,使用这个库我们可以把串口映射到其他的引脚上使用 //我们测试需要用到的串口,ESP32一共有3个串口,串口0应该是用于程序烧写和打印输出调试用的,所以我们只用1和2 HardwareSerial MySerial_ 阅读全文
posted @ 2021-12-02 16:36 盛世芳华 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: server { listen 80; server_name aaa.bbb.com; access_log logs/aaa.access.log combined; root /var/; location /css/ { autoindex on; autoindex_exact_size 阅读全文
posted @ 2021-11-27 09:10 盛世芳华 阅读(119) 评论(0) 推荐(0) 编辑
摘要: raspivid -o - -t 0 -w 640 -h 480 -fps 25|cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8091}' :demux=h264 一直都是通过以上命令来创建树莓派h2 阅读全文
posted @ 2021-11-25 17:09 盛世芳华 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: 视频 a.mp4 第一帧导出为 a.jpg ffmpeg -i a.mp4 -y -f image2 -frames 1 a.jpg 指定封面图大小 ffmpeg -i a.mp4 -y -f image2 -s 640*480 -frames 1 a.jpg 阅读全文
posted @ 2021-11-24 20:58 盛世芳华 阅读(1571) 评论(0) 推荐(0) 编辑
摘要: 树莓派python安装mqtt库 pip3 install paho-mqtt 定时获取树莓派温度、CPU、内存、硬盘信息,使用公共服务器broker.emqx.io进行数据推送,上代码 import os import random import time import json from pah 阅读全文
posted @ 2021-11-23 09:08 盛世芳华 阅读(629) 评论(0) 推荐(0) 编辑
摘要: editplus打开文件,双击右下角UTF-8左侧文字 选择Unix/Mac即可。 阅读全文
posted @ 2021-11-23 08:26 盛世芳华 阅读(246) 评论(0) 推荐(1) 编辑
摘要: sudo dpkg-reconfigure tzdata 在“Configuring tzdata”中,依次选择Asia、Chongqing,回车确认。 阅读全文
posted @ 2021-11-22 15:07 盛世芳华 阅读(75) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get update sudo apt-get install lrzsz 阅读全文
posted @ 2021-11-22 10:46 盛世芳华 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 一直担心树莓派USB口电流不够,带不动我2T的移动硬盘,今天试了下,可以成功挂载。 插入移动硬盘,输入命令: sudo fdisk -l 可以看到硬盘已经成功识别! 在/home/pi下创建文件夹samba mkdir samba 将硬盘挂载到该文件夹 sudo mount /dev/sda2 /h 阅读全文
posted @ 2021-11-21 22:43 盛世芳华 阅读(1112) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页