Gerhard Fiedler wrote: > Rikard Bosnjakovic wrote: > > >> A project of mine is almost finished. The final(?) problem seems to be >> I cannot get the interrupt working properly. Consider this (extracted) >> code: >> >> init >> banksel INTCON ; Clear all but Timer1 >> interrupt-masks >> clrf INTCON >> clrf PIE1 >> clrf PIE2 >> bsf PIE1, TMR1IE >> bsf INTCON, GIE ; Enable global interrupts >> > > Don't you have to set PEIE? > > Gerhard > > Me thinks so too... see 6.7 in datasheet. Rolf -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist