be80be Well-Known Member Feb 7, 2011 #1 I have tried every thing I can think up and no show I want to do this PORTC.0 =~ PORTC.0 a Bit Toggle f in asm Last edited: Feb 7, 2011
I have tried every thing I can think up and no show I want to do this PORTC.0 =~ PORTC.0 a Bit Toggle f in asm
be80be Well-Known Member Feb 7, 2011 #3 How about because it don't toggle LOL I tried that and it turns on and stays
Mosaic Well-Known Member Feb 7, 2011 #4 It's exclusive or...XOR, it will toggle. Are u sure u didn't use Xorwf PORTC,w?
P Pommie Well-Known Member Most Helpful Member Feb 7, 2011 #5 If xorwf always sets the bit then you either have the pin set to analogue or too much of a load on the pin. Mike.
If xorwf always sets the bit then you either have the pin set to analogue or too much of a load on the pin. Mike.
be80be Well-Known Member Feb 7, 2011 #6 It lights the whole port up I just wanted to toggle one pin PORTC.0 It was not clearing ANSEL I used banksel ANSEL and she is toggling lol. Last edited: Feb 7, 2011
It lights the whole port up I just wanted to toggle one pin PORTC.0 It was not clearing ANSEL I used banksel ANSEL and she is toggling lol.