User manual
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 65
Configuration Files and Example Projects
5.3.1.3 Flow Chart
Figure 5-23 shows the flow chart of the code implemented in main.c.
Figure 5-23. Project Flow Chart
5.3.1.4 Build and Program the PSoC 4 Project
Follow these steps to open and program code examples:
1. Launch PSoC Creator 3.0 (or later) from the Start menu.
2. Open the Host_LED_Toggle_Buzzer_PSoC4_Pioneer_Kit.cywrk workspace by choosing File >
Open > Project/Workspace and navigating to the directory in which your project was saved, as
shown in Figure 5-24.
Figure 5-24. Navigating to the Project
3. Build the code example by choosing Build > Build <Project name> or by selecting Build <proj-
ect name> in the menu options obtained by right-clicking on the project name in the Workspace
Explorer to generate the hex file (see Figure 5-25).
Start
Initialize I2C Master
component
Configure and load
toggle and buzzer
feature to MBR3
Configuration was
loaded to MBR3
successfully?
MBR3 drives the
LEDs and
buzzer on touch
Yes
The RGB LED on
CY8CKIT-042 blinks
continuously indicating
I2C write error
No