chipKIT® Development Platform

Inspired by Arduino™

attachInterrupt() Not Working

Created Tue, 14 Jun 2011 18:19:54 +0000 by abotics


abotics

Tue, 14 Jun 2011 18:19:54 +0000

Has anyone had success with using attachInterrupt()? I am trying to trigger an interrupt when pin#7 or 8 changes state.

Abe


Mark

Fri, 17 Jun 2011 06:04:31 +0000

I did not finish the attachInterrupt. There was some debate on how it should be implemented, comments welcome

Mark


abotics

Fri, 17 Jun 2011 16:24:10 +0000

No problem. I think I can just implement directly because you have access to all the registers. Are the interrupt service handlers already defined somewhere and is there vectoring code that tells where to jump to for different interrupt priorities?

Abe


jumpin_jack

Fri, 17 Jun 2011 16:35:56 +0000

pburgess posted some Servo code >here< that shows an example Interrupt handler. His example uses the compiler peripheral library functions and macros.


abotics

Fri, 17 Jun 2011 16:44:18 +0000

Great! Thanks!


whoover

Thu, 28 Jul 2011 00:50:50 +0000

Any timeline on when this will be complete (w/o using makeshift)?