
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 Yesterday, 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
There are less complicated ways i think
'PIC-12F683#CONFIG
__config _FOSC_EC & _WDT_OFF & _CP_OFF & _MCLRE_OFF & _PWRTE_ON & _CPD_OFF &_FCMEN_OFF &_IESO_OFF
#ENDCONFIG
DEFINE OSC 8
Yep, that did it! The output is now as smooth as the 16F883's output. The 16F883 used the INT_INT interrupt from the start. The GPC_INT requires the particulars you noted, and additionally it...
achilles03 - 13th January 2026, 03:30

Re: Pull down button on Port B
Solved: Microchip Applacation note AN552
MOUNTAIN747 Yesterday, 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Ω...