I am using PORTC to run a series of leds from RC0 to RC7 and back just like the Knight rider display, i can get it to work up and down from RC0 to RC5 ok, but when i set it to use bits 6&7 it stops at RC6.
is there some other setting to enable bits 6&7 to work, i have looked at the SSPCON register (page 159) in the datasheet and noticed bits 0-3,5 are mentioned.
so i tried this line>> movlw b'00000101' 'in either Bank1 or Bank0'
............................movwf SSPCON
and still no joy???
any clues...?
is there some other setting to enable bits 6&7 to work, i have looked at the SSPCON register (page 159) in the datasheet and noticed bits 0-3,5 are mentioned.
so i tried this line>> movlw b'00000101' 'in either Bank1 or Bank0'
............................movwf SSPCON
and still no joy???
any clues...?