摘要: 最近在做某项目,拿到的一块oled屏幕 128*64 mcu 是 f103RC 512kb 的核 本来显彩色的 LCD 是直接 画对应的 像素点就行了 可是这个 OLED 屏幕的 设置却是下边的样子 1 OLED_DrawBMP(0,0,128,8, BMP3y); 2 3 OLED_ShowCha 阅读全文
posted @ 2020-09-09 10:25 一颗大白鲸 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 安装包及注册机链接:https://pan.baidu.com/s/1IHZT0n9eGOtNoFL_IlbVcg 密码:3nxj 支持包链接:https://pan.baidu.com/s/19OgO8HMtJwrfGw4apWFzhA 密码:g9ew 支持包 https://blog.csdn. 阅读全文
posted @ 2020-09-04 09:09 一颗大白鲸 阅读(3100) 评论(0) 推荐(0) 编辑
摘要: https://github.com/xljiulang https://github.com/Alopex6414/CSMPC 可以用 阅读全文
posted @ 2020-09-02 10:31 一颗大白鲸 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1 #include "ImageRec.h" 2 using namespace std; 3 4 void ImageRec::getImageFile() 5 { 6 fstream img("1.jpg", fstream::in | ios::binary); 7 fstream imgo 阅读全文
posted @ 2020-09-01 11:35 一颗大白鲸 阅读(1409) 评论(0) 推荐(0) 编辑
摘要: 公用库 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Net; 6 using System.Text; 7 8 namespace 阅读全文
posted @ 2020-08-31 16:59 一颗大白鲸 阅读(196) 评论(0) 推荐(0) 编辑
摘要: bat 安装 文件及 程序 并创建 快捷方式 @echo off copy /y teechart2017.ocx c:\Windows\SysWOW64\teechart2017.ocx regsvr32 c:\Windows\SysWOW64\teechart2017.ocx cd /d%~dp 阅读全文
posted @ 2020-08-31 15:53 一颗大白鲸 阅读(1657) 评论(0) 推荐(0) 编辑
摘要: 首先根据图片进行裁剪 得到有用的数据 1 public static int[,] RGB2Gray(Bitmap srcBitmap) 2 { 3 4 int wide = srcBitmap.Width; 5 6 int height = srcBitmap.Height; 7 8 Rectan 阅读全文
posted @ 2020-08-31 11:33 一颗大白鲸 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 命令行使用 查看标签 git tag 创建标签 git tag 标签名字 -m '消息内容' 推送标签 git push origin 标签名字 删除标签 git tag -d 标签名字 推送 git push origin 给指定的commit打标签 git tag -a v0.1.0 49e0c 阅读全文
posted @ 2020-08-12 20:34 一颗大白鲸 阅读(1352) 评论(0) 推荐(0) 编辑
摘要: 1. 80端口公用问题 多个域名访问 http { include mime.types; #公用80端口//就这里加一行就可以了 include /etc/nginx/vhosts/*.conf; default_type application/octet-stream; .... } 1 #u 阅读全文
posted @ 2020-08-12 13:01 一颗大白鲸 阅读(248) 评论(0) 推荐(0) 编辑
摘要: ffmpeg -i D:\myvod\1.mp4 -c copy -strict -2 -bsf:v h264_mp4toannexb -f hls -hls_list_size 0 -hls_time 10 1.m3u8 使用这个参数 不进行转码 ,直接进行 切片, 最后的 10 代表的是 10s 阅读全文
posted @ 2020-04-14 02:26 一颗大白鲸 阅读(4179) 评论(0) 推荐(0) 编辑