1230
Member level 3
hi all...
writing a simple code to make understand the problem.
PORTB bit 4 should remain high all the time. but its going low after making change to portb. bit5.
cannot trace the problem, pls help.
writing a simple code to make understand the problem.
PORTB bit 4 should remain high all the time. but its going low after making change to portb. bit5.
cannot trace the problem, pls help.
int main()
{
TRISB=0X00;
PORTB |=(1<<4);
Delay_ms(2000);
while(1)
{
PORTB |=(1<<5);
}
}