You are on page 1of 1

int x[10] = {63,6,91,79,102,109,125,7,127,111};

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;
}
}
}

You might also like