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.
include<reg51.h>
include<stdio.h>
void main(void)
{
unsigned innt x;
p1=0x00;
for(x=0;x<5000;x++);
p1=0xff;
for(x=0;x<5000;x++)
compiler shows error that p1 is undefined identifier
how to fix this
Learn the use of your keyboard. Particularly the shift key.
Broeker said:Learn the use of your keyboard
That seems to be a bit of a challenge: https://community.arm.com/developer/tools-software/tools/f/keil-forum/46120/how-to-insetr-put-curly-bracket-in-c-while-writing-a-program-i-m-new-cant-find-curly-brackets-to-insert/164173#164173