Arduino Mega Timer1 in pure C problem - doesn't work
I work with documentation program doesn't work completely.


simple:

1) check out the datasheet;
2) identify those registers needed to get tmr1 to work;
3) set or clear, as appropriate, ALL bits that are needed. Do NOT rely on default values.
4) done.