about willar software for burning program.

Status
Not open for further replies.

uday mehta

Advanced Member level 4
Joined
Dec 30, 2011
Messages
104
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Activity points
1,979
when i burn a program for example :-
#include <reg51.h>
#define port P3
void delay(unsigned int);
void main(void)
{
for(;
{
port = 0x0;
delay(1000);
port = 0x0ff;
delay(1000);
}
}
void delay(unsigned int a)
{
unsigned int i;
unsigned int j;
for(i=0;i<a;i++)
for(j=0;j<120;j++);
}

it shows "the data out of range will be ignored".
but in my program in place of port P3 if i use port P1 then my program burn successfully.
i use AT89C2051.
where is the problem?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…