updated with fomula for timings
This commit is contained in:
parent
080ad56beb
commit
ad9b595013
12
README.md
12
README.md
|
@ -44,6 +44,18 @@ platform dependent.
|
||||||
The code right now can for the most part be ported to any AVR micro-controller
|
The code right now can for the most part be ported to any AVR micro-controller
|
||||||
with no changes.
|
with no changes.
|
||||||
|
|
||||||
|
## Timings
|
||||||
|
|
||||||
|
The current setup is calculated for a attiny13/a running at 4.8Mhz without the
|
||||||
|
clock divder fuse set.
|
||||||
|
|
||||||
|
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) \aprox 6.8ms
|
||||||
|
$$
|
||||||
|
|
||||||
|
|
||||||
## BUILDING PROJECT:
|
## BUILDING PROJECT:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue