Hi
I'm made a program in micro c for pic16f877a but when i make a simulation using Proteus the program work the first step ok but the second no can help me ? my program :
void main() {
char i;
trisd=0x00;
portd=0;
while(1){
Portd.f0=1;
Delay_ms(30000);
Delay_ms(30000);
Delay_ms(30000);
Delay_ms(30000);
portd.f0=0;
for( i=1; i==120 ;i++);
{
Delay_ms(30000);
Delay_ms(30000);
}
}
}
the delay for tow hours doesn't work
I'm made a program in micro c for pic16f877a but when i make a simulation using Proteus the program work the first step ok but the second no can help me ? my program :
void main() {
char i;
trisd=0x00;
portd=0;
while(1){
Portd.f0=1;
Delay_ms(30000);
Delay_ms(30000);
Delay_ms(30000);
Delay_ms(30000);
portd.f0=0;
for( i=1; i==120 ;i++);
{
Delay_ms(30000);
Delay_ms(30000);
}
}
}
the delay for tow hours doesn't work