CE220290 - PSoC 6 MCU TCPWM Breathing LED | Cypress Semiconductor
CE220290 - PSoC 6 MCU TCPWM Breathing LED
This code example demonstrates the implementation of an LED breathing effect using the TCPWM Component on a PSoC 6 MCU.
This code example implements a breathing LED using two TCPWM Components (configured as PWM) and an XOR gate, without CPU involvement. The LED breathing effect is implemented by changing the duty cycle of the PWM signal from low to high and vice-versa cyclically.