The problem is this,i connected as follows to pic16f877a
porta.0 = clock to 74hc
porta.1 = clock to 74hc
porta.2 = clock to 74hc
porta.3 = input..
porta.4 = input..
porta.5 = output..
portb.0 - 7 = outputs.
portc.0 - 7 = outputs.
i have tried to ,cmcon = 7
adcon1 = 7
still is not working .
but the code work on pic16f876.
Bookmarks