You are here

CE220290 - PSoC 6 MCU TCPWM Breathing LED | サイプレス セミコンダクタ

CE220290 - PSoC 6 MCU TCPWM Breathing LED

最終更新日: 
2020 年 11 月 26 日
バージョン: 
*B

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.