Hello!
I wanted to post the example projects for the PSoC 1 CY8C24x93 Low Power kit. This development kit is available at the following location:
A key point for all new PSoC 1 users, all development for PSoC 1 device families is conducted on the PSoC Designer. The PSoC Designer installation is free to download and can be found at the following location:
www.cypress.com/go/psocdesigner
Users will need to download this software prior to evaluating the examples for the PSoC 1 Low Power development kit.
In the example released today we will show the user how to create a simple breathing LED using the PSoC 1 Low Power Development kit.
Forum Post Attachments:
At the bottom of this post we are including the following items:
- Example Project Zip File
- Project Images
User Modules Used:
The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:
- PWM8SW
Firmware Description:
The main.c firmware is included in the example project. Please review the commented sections for more details.
In the example we have a single while loop with two internal while loops controlling the incrementing and decrementing of the PWM compare values. In these examples we are passing a parameter to the PWM8SW_1_WriteCompare API. This API controls the pulse width of the PWM and its output to the LED.
Hardware Connections:
There are no hardware configurations for this example. The PWM output is set to the pin (P0.5) that is connected to the LED.
Test Your Project:
Build the project and program the PSoC 1 device using the program button in PSoC Designer, Program>Program Part.
I hope this example can help you in your design.
Best,
Matt