attachInterrupt for TCx_Handlers

Missclicked on my keyboard. >:( Here are the codes.
The serial monitor prints 5 times and then stops. But at least he prints something.

interrupt_handler.cpp (3.33 KB)

main.cpp (8.18 KB)

mainheader.h (686 Bytes)

pwmWrite.cpp (13 KB)

pwmWrite.h (1.89 KB)