Objective
This code example shows how to control a TFT display using EmWin Graphics Library in PSoC
Overview
This code example demonstrates how to display graphics on a TFT display using EmWin Graphics Display Library. EmWin
graphics library implements 2D graphics and provides easy-to-use API functions to display text, 2D graphics (lines, rectangles,
circles, etc.), and bitmap images. In PSoC Creator™, EmWin graphics library is implemented as a PDL middleware library.
This code example assumes that you are familiar with the PSoC 6 MCU and the PSoC Creator Integrated Design Environment
(IDE).
If
you
are
new
PSoC 6 MCU with Bluetooth Low Energy (BLE)
For details of EmWin Graphics Library API, see the EmWin documentation UM03001_emWin5.pdf in the Program Files
(x86)\Cypress\PDL\3.x.x\doc\ folder.
Requirements
Tool:
PSoC Creator
4.2;
Peripheral Driver Library
Programming Language: C (Arm
Associated Parts:
All PSoC 6 MCUs
Related Hardware:
CY8CKIT-062-BLE PSoC 6 BLE Pioneer
Hardware Setup
1.
Plug in the TFT display shield on to the Pioneer Board as
2.
Set the switches and jumpers on the Pioneer Board as shown in Table 1.
www.cypress.com
CE223726 – PSoC 6 TFT Display Interface
to
PSoC
6
MCU,
see
Connectivity.
(PDL) 3.0.4
®
GCC 5.4.1)
Figure 1. Hardware Setup
Table 1. Switch and Jumper Selection
Switch/Jumper
SW5
SW6
SW7
J8
Document Number: 002-23726 Rev. *B
with EmWin Graphics Library
the
application
note
Kit,
CY8CKIT-028-TFT TFT Shield
Figure 1
shows.
Position
Location
3.3 V
Front
PSoC 6 BLE
Back
V
/ KitProg2
Back
DDD
Installed
Back
®
6 MCU.
–
AN210781
Getting
Started
with
1
Need help?
Do you have a question about the CE223726 and is the answer not in the manual?
Questions and answers