标题: stm32f103r6+Proteus仿真 AD转换+捕获周期程序相关问题 [打印本页]

作者: 田所浩二单推人    时间: 2021-11-15 21:11
标题: stm32f103r6+Proteus仿真 AD转换+捕获周期程序相关问题
仿真显示错误数值且数值不随着调整而改变
附工程文件&代码&仿真 麻烦各位大佬了
警告:
../Core/Src/main.c:124:4: warning: implicit declaration of function 'Show_Led' [-Wimplicit-function-declaration]
../Core/Src/main.c:134:12: warning: implicit declaration of function 'KEY_Scan' [-Wimplicit-function-declaration]
../Core/Src/main.c:139:7: warning: assignment to 'uint16_t' {aka 'short unsigned int'} from 'uint16_t (*)(void)' {aka 'short unsigned int (*)(void)'} makes integer from pointer without a cast [-Wint-conversion]
../Core/Src/main.c:160:7: warning: assignment to 'uint16_t' {aka 'short unsigned int'} from 'uint16_t (*)(void)' {aka 'short unsigned int (*)(void)'} makes integer from pointer without a cast [-Wint-conversion]
../Core/Src/bsp.c:107:1: warning: control reaches end of non-void function [-Wreturn-type]

2mode.7z

518.24 KB, 下载次数: 11






欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1