I have a Sodaq Mbili that I would like to sense and count pulses for about 6 AMR flow meters, I am using the PCINT library to get interrupts to work on most of the pins, the Issue I am seeing is that when I trigger an interrupt on one of the pins, the ISR code for other pins are also invoked.
this is my pin assignment
pinMode(4, INPUT_PULLUP);
pinMode(5, INPUT_PULLUP);
pinMode(6, INPUT_PULLUP);
pinMode(7, INPUT_PULLUP);
pinMode(10, INPUT_PULLUP);
pinMode(11, INPUT_PULLUP);
PcInt::attachInterrupt(4, flowInterrupt);
PcInt::attachInterrupt(5, flowInterrupt1);
PcInt::attachInterrupt(6, flowInterrupt2);
PcInt::attachInterrupt(7, flowInterrupt3);
PcInt::attachInterrupt(10, flowInterrupt4);
PcInt::attachInterrupt(11, flowInterrupt5);
Is there some connection between the pins are some other work I need to do to get the individual pin interrupts to only run its respective ISR? any help would be welcomed