Banana-Random-Number-Generator
Banana-Random-Number-Generator copied to clipboard
Use PB0 (ICP1) instead of PD2 (INT0) for a more reliable timer reading
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.