Timeline for Generate 1khz square signal with Arduino Mega
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 3, 2022 at 14:54 | comment | added | Dave X | The 19. Output Compare Modulator (OCM1C0A) feature seems like overkill for a 1KHz square wave. That modulates timer 1 and timer 2 together based on OCR1C OCR0A and puts an output on B7. An unmodulated 1kHz square wave could be done without overhead by using Timer 1 in one of the WGM modes with TOP as ICR1 or OCR1A. | |
| Nov 11, 2020 at 15:21 | history | answered | Majenko | CC BY-SA 4.0 |