30
CY3270 PSoC® FirstTouch™ Kit Guide, Document No. 001-15945 Rev. *D
Code Examples
5.1.2
Flowchart
5.1.3
Creating My First PSoC 1 Project
1. Open PSoC Designer.
2. To create a new project, click
File > New Project.
3. In the
New Project
window, select the
Chip-level
icon. Name the project
Example_My_First_PSoC_Project
; see
.
4. Click
Browse
and navigate to the directory in which the project is being created.
Start
If finger position is
on slider positions
CSB1- CSB3
Enable Global Interrupts
Turn ON Blue
LED
Turn ON Red
LED
Turn ON Green
LED
Initialize CSD, LED, EzI2Cs
Module
If finger position is
on slider positions
CSB4, CSB5
If finger position
is on slider
positions CSB6,
CSB7
Update EzI2Cs Registers
Read Finger Position on
CapSense Slider
No
No
No
Yes
Yes
Yes