
PWM (Pulse Width Modulation) Steps to Consider when Creating PWM with 16-bit Timer
The steps to consider to output a PWM signal using the 16-bit timer/counter is:
- set the WGM (Waveform Generation Mode)
- Determine the prescaler CS10-12 (Clock Select)
- Create the Period using the ICR (Input Capture Register)
- Determine Output (Inverted or not inverted)
- Decide to use the OCR1A or OCR1B (Output Compare Register)
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.