From ad9b5950130f6de85afba591c64df959f30545be Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Wed, 3 Jan 2024 17:39:51 -0800 Subject: [PATCH] updated with fomula for timings --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index c248454..015fa18 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,18 @@ platform dependent. The code right now can for the most part be ported to any AVR micro-controller 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: