be80be
Well-Known Member
I was playing with a 16f690 I reprogram it and the code i had in cblock didn't change from the first time I programed it. I never had that happen before.
When i changed it to this it did the same thing it set all bits on then I blanked the chip and did it agin and it changed and worked like it should.
Code:
Loop
movlw 0xff
movwf PORTC ;set all bits on
nop
Code:
Loop
movlw 0x15
movwf PORTC ;set bits 0-2-4
nop
Last edited: