There is a minor bug in the millis function for the mx220 function. The initial
TMR2 value is correct but in the interrupt you must update this value with TMR2
= 65535 - _tmr2, not with _tmr2. The impact is 5x on the millis impact, since
the timer restarts to count from initial value to 65535, giving us the 1mS.
The correction is in line 53.
Original issue reported on code.google.com by fabio.malagas@gmail.com on 4 Feb 2013 at 10:16
Original issue reported on code.google.com by
fabio.malagas@gmail.com
on 4 Feb 2013 at 10:16Attachments: