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.
You could use one of the PortB pins for your external input, then use "Interrupt on change on PortB" - if you check the MicroChip application notes there's a fair few dealing with this. It will interrupt on any change, either positive or negative going, you can easily detect which you want in the interrupt routine - it's all explained quite well in the application notes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.