TFT CP23
2.3" - 320x240 Color Touch Display
- Overview
- Driver
- Tethered Samples
- Standalone Samples
2.3" 320x240 color TFT display with capacitive touch screen option, supporting Graphics in buffered and in direct modes.
Key features • Full Color 320x240 Pixels | Resources PID: 0x010007 |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
Init(m,o) | Initialize display m mode (buffered = 0 , direct = 1). o orientation (landscape = 0, portrait = 1). Init(0, 0) automatically called on power-up. |
GetW() | Get display width: 106 in buffered, 320 in direct. |
GetH() | Get display height: 80 in buffered, 240 in direct. |
IsColor() | Returns 1. |
TouchX() | Returns touch x. |
TouchY() | Returns touch y. |
SetDACtrl(s,r,c,b) | Data access control s swapRowCol, r invertRow, c invertCol, b swapBGRSet data access control. |
SetWindow(x,y,w,h) | Sets draw window x display's x value, y display's y value., w display's width value, h display's height value. |
DVer() | This driver version. |
The Code!
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
- MicroBlocks
loading...
loading...
loading...
loading...
loading...
This sample project runs on a MicroBlocks-enabled device that is tethered to this module. Note that this tethered module needs to have the official DUELink firmware and its module driver. See MicroBlocks page to learn more.
Click the button below to open, edit, and run the project directly on MicroBlocks' website.
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
loading...
See Arduino page for more info.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink TFT CP23 (No Touch) | GDL-DSTFTCP23-B-NA | $29.95 |
| DUELink TFT CP23 (w/ Capacitive Touch) | GDL-DSTFTCP23-B-CP | $39.95 |