EEM12L kWh meter

Hello,

Recently I played with the script from Rob Tillaart related to the read-out of a kWh meter by means of sensor the blinking LED.
Finnaly this is possible.
Know I like to know if a IRQ 2 or 3 on a uno is internal to trigger.
I mean in the script from Rob the IRQ 2 is triggered from the pin nr. 2.
I would like to trigger the IRQ from within the program.???
Or is this is not possible deu to the fact that the program can not be interupted .

Like to hear.
If quesion is not quit clear I would like to explain.

Like to hear.
iloSS

kWh-meter_01.ino (1.92 KB)