CY8CKIT-059 PSoCĀ® 5LP Prototyping Kit Guide, Doc. #: 001-96498 Rev. *G 35
Code Examples
5.2 CE195352_PSoC_5LP_Blinking_LED
This code example demonstrates the use of a fixed-function PWM. The PWM is set up to output a
50-percent duty cycle digital signal with a period of 1 second. This signal can be used to drive an
LED for visual testing of the PWM output. A switch is routed into the kill input of the PWM. When the
switch is pressed the PWM output is shut off.
Figure 5-7. TopDesign for CE195352_PSoC_5LP_Blinking_LED
For a detailed description, refer to the CE195352_PSoC_5LP_Blinking_LED.pdf from PSoC Creator.