Ni yanfang
Member level 3
- Joined
- Jul 30, 2013
- Messages
- 59
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 432
hi, I will get error after i run my program. Kindly teach me how to edit. thank you so much.
MYWORK6.C(9): error C202: 'P22': undefined identifier
Code:
#include<at89x51.h> // include at89x51 . h
#define E P22
#define RW P21
#define RS P20
#define LCD_DATA P0
void strobe()
{
E = 1;
delay();
E = 0;
delay();
}
MYWORK6.C(9): error C202: 'P22': undefined identifier
Last edited by a moderator: