PinChangeInt problems

Hello!

I am trying to use the PinChangeInt library on my project because I need three interrupts, and my ProMini only has 2.
However I keep getting this error when I try to compile:

Gyro_V2:7: error: expected unqualified-id before string constant
Gyro_V2:7: error: expected unqualified-id before 'void'
Gyro_V2:7: error: expected )' before 'void' Gyro_V2:21: error: expected unqualified-id before string constant Gyro_V2:21: error: expected unqualified-id before 'void' Gyro_V2:21: error: expected )' before 'void'

Googling a bit reveals that probably is a fault with a header file. So I opened PinChangeInt.h, and from what I see alot of #endif are possibly missing.
Has anyone used this library recently? Is there something wrong or am I just to blame? :stuck_out_tongue:

Post your complete code. Use code tags ! Propably your are missing some small thing : "}" ";" or ")" :slight_smile:

Yeah that was what I read on google, but I really can't find anything, apart from that which seems to be missing from the PinChangeInt.h header file...

But here's my code anyway :slight_smile:

Gyro_V2.ino (9.14 KB)

GyroDefines.h (25.6 KB)

I found the problem myself!

It seems I can't use the word "ISR" as a function name. Changing the functions name to "ISR_1" fixed it.