Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Is there a easy way to do Bit Toggle f on a 16f690

Status
Not open for further replies.

be80be

Well-Known Member
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:
How about because it don't toggle LOL I tried that and it turns on and stays
 
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.
 
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:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top