05 2023 档案

摘要:一、cubmax设置 PA0作为DS18B20数据口 打开串口1,显示温度信息 时钟树设置72MHZ。 二、程序 头文件 /* USER CODE BEGIN Includes */ #include "DS18B20.h" #include "stdio.h" /* USER CODE END I 阅读全文
posted @ 2023-05-05 09:02 Yoku 阅读(674) 评论(0) 推荐(0) 编辑
摘要:error: #5: cannot open source input file “xxx.h“: No such file or directory 一般是.h没有添加到项目中。将包含.h文件或文件夹添加进去即可 阅读全文
posted @ 2023-05-01 20:08 Yoku 阅读(5680) 评论(0) 推荐(0) 编辑
摘要:编译报错 没有启动文件,编译不通过,报错No section matches selector - no section to be FIRST/LAST。 解决方法: cubemx生成的工程中就有启动文件,只是没有被keil添加到路径当中, 启动文件具体路径如下:工程文件夹\MDK-ARM\RTE 阅读全文
posted @ 2023-05-01 16:48 Yoku 阅读(1364) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示