
Menuthanks Richard for the reply. My point is to limit the current surge when the PortB pin drops from 5v to 0v at the button push. My thinking is there is a spike of current that may damage the PortB...
MOUNTAIN747 - 18th January 2026, 17:59
if your query is to do with ameliorating effect of debounce capacitor
google ai says
Using weak pullups on port B of 16f1936. A button to ground will cause an interrupt on IOCBN.
Question: should I use a low value resistor in line with this pull down button?
Wayne
Hi Richard,
thank you so much for your quick reply.
And once again you are 100% correct.
How could i be so blind?
Thanks. It now compiles correctly.
INT_Handler USART_RX_INT, _RxISR, PBP, yes
dt ints does not have an interrupt called USART_RX_INT perhaps you mean RX_INT
Hi guys,
i'm a bit lost with a very small and simple program which does not compile when using DT interrupt library on the 18F2580.
I was hopping someone more inteligent could help figure out...
The output is pretty clean in my experience. I use my photodiode in photoconductive mode (reverse bias), which makes it faster and supposedly noisier but I haven't noticed any noise except in some...
achilles03 - 13th January 2026, 04:23

Re: Pull down button on Port B
Solved: Microchip Applacation note AN552
MOUNTAIN747 - 18th January 2026, 18:31"The series 100Ω resistors are used for Electrostatic Discharge (ESD) protection."
OK, I think I was on the right track. In fact I was considering 100Ω...