updated to use two facrations for readability
This commit is contained in:
parent
ebcaa7cc67
commit
b8839a9b2b
|
@ -53,7 +53,7 @@ This means that the actual f_cpu is 4.8Mhz to calculate the delay times
|
|||
we can use this formula:
|
||||
|
||||
$$
|
||||
msPerOverflow = 1000ms / (\frac{4.8Mhz}{64} / 256) \approx 6.8ms
|
||||
msPerOverflow = 1000ms / (\frac{4.8Mhz}{64} * \frac{1}{256}) \approx 6.8ms
|
||||
$$
|
||||
|
||||
Where $64$ is the pre scaler setting and $256$ is the maximum value of the 8bit
|
||||
|
|
Loading…
Reference in New Issue