#keil
运行出现的错误:
gpio.h(3): error C202: 'P0M1': undefined identifier
gpio.h(3): error C202: 'P0M0': undefined identifier
gpio.h(3): error C202: 'P1M1': undefined identifier
gpio.h(3): error C202: 'P1M0': undefined identifier
gpio.h(4): error C202: 'P2M1': undefined identifier
gpio.h(4): error C202: 'P2M0': undefined identifier
gpio.h(4): error C202: 'P3M1': undefined identifier
找了很久不知道是什么问题
有哪个uu会,请求指点,谢谢!
gpio.h文件
我记得GPIO口一般不会这么命名,你可能漏了某个引用文件,比如sys(一般写一些gpio简短的命名)
这个应该是STC单片机的,包含一下STC提供的对应型号头文件。