chipKIT® Development Platform

Inspired by Arduino™

Interrupt CHANGE level

Created Tue, 25 Aug 2015 03:14:44 +0000 by YOBE.


YOBE.

Tue, 25 Aug 2015 03:14:44 +0000

Hi,

starting up my project (again) and still confused about the functionality of the "attachInterrupt". Seems only "Rising" or "Faling" is working. As soon as I try to use "Change", no interrupt is triggered anymore. Using Pin 2 & 8 on UNO.

Somebody has solution for this one?

Does not work both in MPIDE and UECIDE.

Thx


majenko

Tue, 25 Aug 2015 08:25:11 +0000

There is no concept of a change interrupt on the PIC32, only rising or falling. It's the hardware that does it not software.


YOBE.

Tue, 25 Aug 2015 14:10:58 +0000

OK, thanks. This makes sense. But any idea, who is the publisher of this?? http://www.eecs.wsu.edu/~schneidj/chipKIT-reference/AttachInterrupt.html

Must be wrong info that is stated there...


majenko

Tue, 25 Aug 2015 15:17:56 +0000

No idea. It looks like someone ("schneidj") has taken the Arduino reference web pages and re-skinned them to look like chipKIT. As a result a certain amount of the information in them will be completely wrong.