这只是一个警告,可以不用管他。
不过想要消除警告的话,可以跟着这个视频一步一步来
https://www.stcaimcu ...
嗯 是可以下载 王昱顺 发表于 2025-3-3 23:24
void Timer1_Init(); 是这句出现了问题
原因是:void只能在声明的时候使用,调用时应该去掉
改为:
嗯呢虽然还有一个警告 但是功能已经可以实现了 学习 谢谢 小熊熊 发表于 2025-3-4 14:22
#include "ai8051u.h"// 调用头文件
#include "stc32_stc8_usb.h"
#include "intrins.h"
Option For Target选项的Target中勾选“4 Byte Interrupt Frame Size”
21cnsound 发表于 2025-3-4 17:57
Option For Target选项的Target中勾选“4 Byte Interrupt Frame Size”
谢谢大哥 没有错误了
页:
1
[2]