mithun065285
Newbie level 1
![Newbie level 1](/styles/images/ranks/alevel1.gif)
i hv written a program part of it i am showing below
i got following error.pls help me out.
Target not created
Code:
#include<reg51.h>
#include<string.h>
sbit rs=p3^1;
sbit en=p3^0;
sbit rw=p3^2;
sbit b=p0^7;
sbit led1=p2^0;
sbit led2=p2^1;
sbit led3=p2^2;
sbit led4=p2^3;
sbit PWM=p2^4;
sbit RL1=p2^5;
sbit RL2=p2^6;
i got following error.pls help me out.
Code:
error C202: 'p3': undefined identifier
error C202: 'p0': undefined identifier
error C202: 'p2': undefined identifier
error C202: 'rs': undefined identifier
error C202: 'rw': undefined identifier
error C202: 'p0': undefined identifier
error C202: 'en': undefined identifier
error C202: 'PWM': undefined identifier
error C202: 'b': undefined identifier
error C202: 'led1': undefined identifier
error C202: 'led2': undefined identifier
error C202: 'led3': undefined identifier
error C202: 'led4': undefined identifier
error C202: 'RL1': undefined identifier
error C202: 'RL2': undefined identifier
Last edited by a moderator: