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.

to kentken

Status
Not open for further replies.

jijita

New Member
i haven't got the time to test your code yet but i was wondering why did you put btfsc portc,0
goto pin0action
why not btfss...
goto
this is how i test the port in my code
 
Most of the time inputs have a pull-up. Then the switch or button grounds out the pin. PortB has some built in.

What is the input?

Kent
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top