ISR interrupt routine

Welcome

Please post your sketch inline in the topic using code tags. If you don't know how to use code tags, please read How to get the best out of this forum.

You will need to consult the schematic of the board that you're using to know what the pins 11 and 12 are in processor terms; after that you can fiddle with direct port manipulation.