The training session explains how to set up and use multiple PWM modules PWM module with a variable PWM duty and frequency.
This training session uses PWM to the power to one of more LEDs. So, far we have covered setup, outputs, creating a variable, inputs and now PWM. The session shows:
1. PWM module. This method support up to nine PWM modules. The signal is constant and uses no CPU cycles. The method shown generates a variable duty cycle and frequency. These frequency is changed within the program using a simple calculation and the duty cycle is changed using the value returned from the 10bit ADC. The chip requires the use of PPS - this is also covered.
The video uses the latest board layout, same as training session 4, from Chris Roper provided this.
0 Comments