I have a project on (test-)mega64 and it uses all 4 available timers.
After brushing&brushing, optimizing, etc, I managed to squeeze the code size to an incredible 5174 bytes so it can easily fit into a mega8 (I have one here).
Unfortunately, mega8 has only 3 timers available while the proggy requires 4 timers:
- timer0: motor1
- timer2: motor2
- timer3: remote-control sampler
- timer1: multi-timer (various actions triggered by this timer...)
I'm stuck right now... I really don't have any idea how to fix this problem! :?
So, any clue, any idea or trick that would help me to move the project from mega64 to mega8 (a cheaper AVR) ?!?