had the same issue, but using timers (TCNT0, TCNT1, TCNT2)for TCNT0, casting as an (int) worked, but not for TCNT2... (unsigned char) seemed to fix both of them...
Post a Comment
1 comment:
had the same issue, but using timers (TCNT0, TCNT1, TCNT2)
for TCNT0, casting as an (int) worked, but not for TCNT2... (unsigned char) seemed to fix both of them...
Post a Comment