You are here

CE216686 - FM0+ Base Timer With ADC | Cypress Semiconductor

CE216686 - FM0+ Base Timer With ADC

Last Updated: 
Jun 06, 2020
Version: 
*C
This code example uses analog input from the potentiometer on the board to modify the duty cycle of a base timer operating in PWM mode. The output pin of the PWM causes the LED to dim or brighten as the duty cycle changes.