I plan to use timer 0 overflow interrupt to "tap" into the 490Hz frequency it generates.
Why?
I want to generate ADC conversions at this rate, instead of the default 4096Hz
I want to have a variable to generate accurate delays without having to compare the milis function every loop.
Issue is, I don't directly have access to it on the IDE, instead I have to go to line 49 of the wiring.c file and make my changes there, which pretty much become valid for every sketch.
Enable the pin change interrupt on one of the two output pins. Start the PWM output (analogWrite will work). Trigger a conversion in the pin change interrupt handler.
I want to have a variable to generate accurate delays without having to compare the milis function every loop.
...is an extremely weak argument for using interrupts.