Professional Documents
Culture Documents
int cn=0;
void main() {
trisb =0;
portb=63;
trisc =0;
portc =63;
while(1)
{
portb = x[cn];
portc = x[cn];
delay_ms(250);
cn++ ;
if(cn>9)
{
cn=0;
}
}
}