标题: 在proteus里运行报错 'TMOD': can't initialize, bad type or class [打印本页] 作者: 南风如你 时间: 2020-7-3 21:39 标题: 在proteus里运行报错 'TMOD': can't initialize, bad type or class
*** WARNING C318 IN LINE 1 OF ..\main.c: can't open file 'regx51.h'
*** ERROR C244 IN LINE 8 OF ..\main.c: 'TMOD': can't initialize, bad type or class
*** ERROR C132 IN LINE 8 OF ..\main.c: 'TMOD': not in formal parameter list 作者: xxpp2011 时间: 2020-7-3 22:47
regx51.h可能没有,改成
#include "reg51.h"应该就可以了