
MenuHi 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
Hi Dave,
How clean is the output from your photodiode?
I have been working on a similar setup recently using an encoder wheel and photointerrupter.
I had greater success feeding the MCU's input...
i would
you are not using IOC correctly since the gpio is never read in the isr to clear the change condition
4.2.3 INTERRUPT-ON-CHANGE
Each of the GPIO pins is individually...
I had thought - should I be using "INT_INT" instead of "GPC_INT"? It is set up using GPIO.2 as the interrupt pin, which is the dedicated INT pin per the datasheet. Can you set up an interrupt on...
achilles03 - 12th January 2026, 23:29
I have a project using three 12F683s controlled by a 16F883 master. The goal of the project is to track the RPM of 4 independant propellers on a quadcopter using an IR photodiode and emitter (i.e. a...
achilles03 - 12th January 2026, 21:58
[open in an incognito window in chrome]
support.melabs.com/forum/picbasic-pro-compiler-3-0-and-later/pbp3-picbasic-pro-3-0/773-i2c-pcf8574-20x4-lcd
original ver in post #3
alternative ver in...

Re: Error compiling with DT Interrupts
INT_Handler USART_RX_INT, _RxISR, PBP, yes
richard Today, 22:22dt ints does not have an interrupt called USART_RX_INT perhaps you mean RX_INT