CY8CKIT-003 PSoC 3 FirstTouch Starter Kit Guide, Spec. # 001-49613 Rev. *B
13
4.
Example Projects
4.1
PSoC Rocks
The PSoC Rocks project displays a rasterized image of the user defined message ("PSoC Rocks!")
using persistence of vision. Waving the circuit board back and forth quickly in the plane of the board
generates the message.
4.1.1
Open the PSoC Rocks Project
1. Click on the example project PSoC Rocks from
Kits and Solutions
present on the Startup page
of the PSoC Creator.
2. Make a folder in the desired location and click
OK
.
3. Project opens up in the PSoC Creator and gets saved in that folder.
4. Build the project to generate the
.hex
file.
Figure 4-1. Open PSoC Rocks from Kits and Solutions
4.1.2
Modify the PSoC Rocks Project
1. From the Workspace Explorer, open the
main.c
file as shown in
Figure 4-2
.
2. Replace the "PSoC Rocks!" string in the DisplayString[ ] [ ] array of strings with "Cypress" or any
other message(s) desired up to 25 characters.
electronic components distributor