If you are using the input interrupt (defined by INTRDEF), remember that interrupt channel #1, 2, 3, 4 are mapped to digital inputs #3,4,5,6.
So please use input #3,4,5 or 6 as interrupt input. Digital input #1,2,7,8 do not support interrupt function.