mosajawdet
Newbie level 1
HI ALL
I have a project at PIC Microcontroller 16f877a using micro c & I'm a beginner in micro c there is some thing wrong in the program I don't know it ; the program must make the port on tow minute & off tow hour the program bellow please need help :
void main() {
char i;
{
trisd=0x00;
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);
} }
}
I have a project at PIC Microcontroller 16f877a using micro c & I'm a beginner in micro c there is some thing wrong in the program I don't know it ; the program must make the port on tow minute & off tow hour the program bellow please need help :
void main() {
char i;
{
trisd=0x00;
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);
} }
}