unsigned char D1=0,D2=0,D3=0 ;
unsigned int RSL1=0 ,S2=0, RSL2 =9 ;
void main(void)
{
TRISB = 0x00 ;
for(;;)
{
RSL1++ ;
if (( RSL1 >5)&&(RSL2<9)) RB0=1;
else
RB0 =0 ;
if (RSL1 >=9) RSL1 =0 ;
}
}
unsigned char D1=0,D2=0,D3=0 ;
unsigned int RSL1=0 ,S2=0, RSL2 =9 ;
void main(void)
{
TRISB = 0x00 ;
for(;;)
{
RSL1++ ;
if (( RSL1 >5)&&(RSL2<9))
{
RB0=1;
}
else
{
RB0 =0 ;
}
if (RSL1 >=9)
{
RSL1 =0 ;
}
}
}
unsigned int RSL1=0 , RSL2 =9 ;
void main(void)
{
TRISB = 0x00 ;
for(;;)
{
RSL1++ ;
if (( RSL2 <5)&&(RSL1<8))
{
RB0=1;
}
else
{
RB0 =0 ;
}
if (RSL1 >=9)
{
RSL1 =0 ;
}
}
}