Timeline for Is it possible to generate an exact 15 kHz clock pulse using an Arduino?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2021 at 14:12 | comment | added | Gerben | Timer one keeps incrementing it counter (TCNT1) till it reaches ICR1. By increasing ICR1 by 5 is will take a bit longer to count to that, and thus give you a slightly lower frequency, than the 15155Hz you were getting. Hope that explains it a bit better. If not, feel free to let me know. | |
Jan 22, 2021 at 5:31 | comment | added | astrick |
Can you please describe the role of ICR1 register here? I need to know how is it working with timer1.
|
|
Jan 20, 2021 at 13:40 | history | edited | Gerben | CC BY-SA 4.0 |
deleted 29 characters in body
|
Jan 19, 2021 at 14:12 | history | answered | Gerben | CC BY-SA 4.0 |