We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello I need help on C Program
compiler : keil mcu: P89V51R1D2
I am seeing following error Build target 'Target 1' compiling LED.c... LED.c(1): warning C318: can't open file 'regx51.h' LED.C(16): error C202: 'P2': undefined identifier LED.C(18): error C202: 'P2': undefined identifier Target not created
how to remove errors
If all else fails, get a data manual for your part, read/review it, and code the include file yourself. It's a technique that worked before the dawn of the internet, and I'm darn sure it would work today.