unsigned innt x;
compiler shows error that p1 is undefined identifier
how to fix this
The compiler is case sensitive for defines, functions and variables.
Use find-in-files to search the project files for symbols, can also search in case insensitive mode.
Westonsupermare Pier said:The compiler is case sensitive for defines, functions and variables
also for language keywords.
This is basic 'C' language stuff - nothing specific to Keil or ARM or 8051
Here are some 'C' learning & reference materials - including a free online textbook:
If you're new to the 'C' language (which certainly seems to be the case), it is probably better to learn the language on a PC or similar, away from the added complications & restrictions of embedded microcontrollers - especially the 8051.
Once you have a good grip of the language, then move on to applying it to microcontrollers.
View all questions in Keil forum