Aha, I see: Mode = Background requires a 16 bit timer.
But my first remark is still valid.
I copied your posted program in the IDE and I get compiler errors.
I suggest you *copy* what you wrote in the IDE to this forum, instead of re-typing it. That prevents confusion.
Nevertheless, I see your problem when a crystal value of 16000000 or 14745600 is used.
Looks like a problem with the new Background feature.
↧