Yup, that's pretty slow.
At 20mhz with 1:1 prescaler, you'll get an interrupt every 13.1ms.
That's 52.4ms for all 4 digits, which is a 20hz refresh rate. Way too slow.
If you want to make it go faster, you have to load something in the Timer. As it is, it's just free-running.
Also, you'll never get those SERIN/OUT2's to work. They are timed by software, which gets continuously interrupted. You need to use the USART with HSERIN/OUT.
And, ENABLE/DISABLE are for ON INTERRUPT. They have no effect with Instant Interrupts.
<br>
Bookmarks