找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

keil编程时error C202: 'TR0': undefined identifier求大佬指点,怎么改,谢谢谢谢!

查看数: 7079 | 评论数: 2 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2021-5-11 20:32

正文摘要:

#include<modbus.h> #define uchar unsigned char #define uint8 unsigned char #define uint16 unsigned char bit  Search_Counta;//首次寻优标志 1 bit  Search_Countb;//首次寻优标志 2 ...

回复

ID:887371 发表于 2021-5-12 09:07
#include <REG52.H>

前面加上这句。
ID:213173 发表于 2021-5-12 06:52
这段程序可能只是一个功能模块,并且含有外部变量。不可以单独编译。

小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表