|
px-fwlib 0.10.0
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers generated with Doxygen 1.9.2
|
How to configure and use a TMR peripheral to generate a PWM output.
File(s):
The piezo buzzer is driven with a 50% duty cycle at about 1000 Hz.
An undesirable side-effect effect of the flexibility and power of the TMR peripherals is the sheer size of the datasheet documentation. Most times it helps to skip the lengthy description and focus on the actual peripheral register description, e.g. do not start at p.94, but jump directly to "15.9 Register Description" on p.105 of the ATmega328P datasheet.