摘要: SBus+HAL+DMA库 首先是cubemx配置时,如图 注意波特率,字节长,校验,停止位,最后有一个只接收(Sbus是单向协议 DMA NVIC 然后把文件复制到对应地方 然后在main.c中加入以下代码 uint8_t USART2_RX_BUF[USART_REC_LEN]; //接收缓冲 阅读全文
posted @ 2023-09-17 21:40 Yecgaa1 阅读(105) 评论(0) 推荐(0)
摘要: 每次都是255因为你没能进任何一个if 代码位置异常,在return之后(你之前这里是uart.write,我只是替换没有改过位置) 我写的send并不是真代码确实有些问题,不过你不是说发给你就好了吗?看来是你没认真听懂我的send是怎么写的 已经修复字节打包的问题 修复全局变量分布在程序的每个角落 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(18) 评论(0) 推荐(0)
摘要: 换源(直接GUI换就比较好) 安装vscode sudo snap install --classic code 安装Kraken sudo snap install gitkraken --classic 安装ProxyChains sudo apt install proxychains -y 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(43) 评论(0) 推荐(0)
摘要: float浮点型变量在计算机内存中占用4字节(Byte),即32-bit。 一个浮点数由2部分组成:底数m 和 指数e。 https://blog.51cto.com/clown5/1710036 float 和 char float:占4个字节 double: 占8个字节 double 和 flo 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(32) 评论(0) 推荐(0)
摘要: layout: post title: 鸿蒙假期3 categories: 日志 tags: - 日志 - 大二 - 大二寒假日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/P 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(18) 评论(0) 推荐(0)
摘要: layout: post title: 合泰单片机 categories: 日志 tags: - 比赛 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(66) 评论(0) 推荐(0)
摘要: layout: post title: EC-01G模块 categories: 日志 tags: - 比赛 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/Picture 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(29) 评论(0) 推荐(0)
摘要: layout: post title: 大二下日志 categories: 日志 tags: - 日志 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(22) 评论(0) 推荐(0)
摘要: layout: post title: 蓝桥杯备赛 categories: 日志 tags: - 比赛 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(185) 评论(0) 推荐(0)
摘要: layout: post title: 鸿蒙假期2 categories: 日志 tags: - 日志 - 大二 - 大二寒假日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/P 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(17) 评论(0) 推荐(0)
摘要: layout: post title: 鸿蒙假期1 categories: 日志 tags: - 日志 - 大二 - 大二寒假日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/P 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(24) 评论(0) 推荐(0)
摘要: layout: post title: pygame五子棋 categories: 日志 tags: - 日志 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/Pictur 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(30) 评论(0) 推荐(0)
摘要: layout: post title: 大二上日志 categories: 日志 tags: - 日志 - 大二 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureBed 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(179) 评论(0) 推荐(0)
摘要: layout: post title: xtx暑假第四周日志 categories: 日志 tags: - 日志 - 2021暑期日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(95) 评论(0) 推荐(0)
摘要: layout: post title: xtx暑假第五周日志 categories: 日志 tags: - 日志 - 2021暑期日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(53) 评论(0) 推荐(0)
摘要: 还不是被我妹妹给气的.jpg 要掌握的库 数据挖掘 request BeautifulSoup 数据处理 Pandas 决策树,梯度提升问题 参考2020c109论文 决策树构建用包 xgboost 梯度提升 sklearn 回归聚类随机森林决策树等 spss因子分析降维 https://www.y 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(6) 评论(0) 推荐(0)
摘要: layout: post title: xtx暑假第二三周日志 categories: 日志 tags: - 日志 - 2021暑期日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(18) 评论(0) 推荐(0)
摘要: 这份笔记是我离开团队的第一份笔记 不是想纪念 而是想让自己明白以后要更加努力 AD部分 不要用中文名!! 常用封装 0805规格 104电容代表10*10的4次方,对应是100nf 105电容就是0.1uf stm32引脚 OSC接外部高速晶振(8M),OSC32接外部低速晶振 VDD接3.3电 V 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(54) 评论(0) 推荐(0)
摘要: layout: post title: xtx暑假第一周日志 categories: 日志 tags: - 日志 - 2021暑期日志 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(27) 评论(0) 推荐(0)
摘要: 仍然是纯笔记 默认飞完一个定点飞行后会进入位置锁定模式 位置移动有多个模式 单位全部是cm厘米 BodyHeading才是机头方向 XY方向如下所示 设置速度单位是cm/s 延时也是老延时了 但是不能这么写,会导致全系统暂停 任务模式执行有个频率 为了延时2s,应该写 Mode_Inf->auto_ 阅读全文
posted @ 2023-09-17 20:40 Yecgaa1 阅读(117) 评论(0) 推荐(0)