PDA

View Full Version : Interrupt Question



Pesticida
- 14th September 2007, 22:09
Hi,

I Have another Interrupt Question?

When I have for example two Active 16 Bit Timer did this affect other Interrups like INT0.
Timer0 count Seconds and the Timer1 every 400ms.
But when I use both Timers my INT0 dont respond when I Push for example a button.

Di somebody have a Answer for this little Problem?

Thanks

Regards Pesti

Josuetas
- 15th September 2007, 06:01
Hi, most surely your interrupt should work fine, you might have problems with your interrupt priority.

What device are you using? 18F has interrupt priority! what is more important to you timer or INT0? recheck your datasheet.

THE ANSWER TO ALL INTERRUPT QUESTIONS AND TROUBLES IS: use Darrel Taylor's Instant Interrupt Routines, they are a gift from the heaven once you understand and get used to include them.

Search the forum for Instant Interrupts revisited.

Pesticida
- 15th September 2007, 12:00
Thank You!

I try to use Darrel's Routines but I become all the Time this:

Warning[207] C:\PICHEX\ALARMANLAGE_HARD_VERS_1_3.ASM 1880 : Found label after column 1. (warning)
Error[108] C:\PICHEX\ALARMANLAGE_HARD_VERS_1_3.ASM 1880 : Illegal character (")


I can not find the errors.

Regards Pesti