Banana-Random-Number-Generator icon indicating copy to clipboard operation
Banana-Random-Number-Generator copied to clipboard

Use PB0 (ICP1) instead of PD2 (INT0) for a more reliable timer reading

Open valerionew opened this issue 7 years ago • 0 comments

Using ICP1 allows a much more reliable timer reading, since it uses dedicated hardware to store the timer value instead of calling a software interrupt. An interrupt is called anyways, but the timer value is already latched into a register.

valerionew avatar May 04 '18 10:05 valerionew