Created
May 24, 2019 13:36
-
-
Save komponenrobot/dec02a086c210ab7d986e5a0a8fbfe2d to your computer and use it in GitHub Desktop.
Hitung Timer CV AVR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Clock Value = Clock Source / Pre Scaler | |
TCNT = Max Counter-(Clock Value/ (1 / timer yang diinginkan)-1) | |
Max Counter ==> Tergantung bit | |
8 bit ==> 255 | |
16 bit ==> 65535 | |
Timer yang diinginkan dalam satuan Second |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment