摘要:
Clion+STM32配置环境 下载安装 下载Clion,具体步骤省略 https://www.jetbrains.com/clion/download/ Clion官方的教程网址如下 https://www.jetbrains.com/help/clion/embedded-development 阅读全文
摘要:
SBus+HAL+DMA库 首先是cubemx配置时,如图 注意波特率,字节长,校验,停止位,最后有一个只接收(Sbus是单向协议 DMA NVIC 然后把文件复制到对应地方 然后在main.c中加入以下代码 uint8_t USART2_RX_BUF[USART_REC_LEN]; //接收缓冲 阅读全文
摘要:
每次都是255因为你没能进任何一个if 代码位置异常,在return之后(你之前这里是uart.write,我只是替换没有改过位置) 我写的send并不是真代码确实有些问题,不过你不是说发给你就好了吗?看来是你没认真听懂我的send是怎么写的 已经修复字节打包的问题 修复全局变量分布在程序的每个角落 阅读全文
摘要:
换源(直接GUI换就比较好) 安装vscode sudo snap install --classic code 安装Kraken sudo snap install gitkraken --classic 安装ProxyChains sudo apt install proxychains -y 阅读全文
摘要:
float浮点型变量在计算机内存中占用4字节(Byte),即32-bit。 一个浮点数由2部分组成:底数m 和 指数e。 https://blog.51cto.com/clown5/1710036 float 和 char float:占4个字节 double: 占8个字节 double 和 flo 阅读全文
摘要:
layout: post title: 鸿蒙假期3 categories: 日志 tags: - 日志 - 大二 - 大二寒假日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/P 阅读全文
摘要:
layout: post title: 合泰单片机 categories: 日志 tags: - 比赛 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed 阅读全文
摘要:
layout: post title: EC-01G模块 categories: 日志 tags: - 比赛 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/Picture 阅读全文
摘要:
layout: post title: 大二下日志 categories: 日志 tags: - 日志 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed 阅读全文
摘要:
layout: post title: 蓝桥杯备赛 categories: 日志 tags: - 比赛 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed 阅读全文