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
thank you for your reply ,I think that file is used for atmel controller. I need header file for P89v51r1d2
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.
Did you mean P89V51RD2 ?
http://www.keil.com/dd/chip/3711.htm
Looks like an old question: www.electro-tech-online.com/.../