CY8CKIT-040 PSoC
®
4000 Pioneer Kit Guide, Doc. # 001-91316 Rev. *F
56
Code Examples
5.2.2.2
Firmware Details
shows the flow chart of code implemented in main.c.
Figure 5-11. Blinking LED Project Flow Chart
5.2.2.3
Hardware Connections
No specific hardware connections are required for this project because all connections are hard-
wired on the board. Open
CY8CKIT_040_Blinking_LED.cydwr
under the
Source
vertical tab in the
Workspace Explorer
and select the suitable pin, as shown in
Figure 5-12. Pin Selection for Blinking LED Project
5.2.3
Verify Output
Build and program the code example onto the device. Observe the frequency and duty cycle of the
blinking LED. Change the period and compare value in the PWM Component, as shown in
. Rebuild and reprogram the device to change the blinking rate.
Table 5-1. Pin Connection
Pin Name
Port Name
PWM
P3_2 (Red)
Start
Initialize and Start
PWM component
Put CPU to sleep
End
Содержание CY8CKIT-040 PSoC 4000 Pioneer Kit
Страница 20: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 20 Kit Operation...
Страница 37: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 37 Hardware...
Страница 73: ...CY8CKIT 040 PSoC 4000 Pioneer Kit Guide Doc 001 91316 Rev F 73 Code Examples Raw count and Baseline...