TFT CP23
2.3" - 320x240 Color Touch Display
- Overview
- Driver
- Tethered
- Standalone
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 Our Cableless Green Initiative 🌿 |
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!
TFT CP23 Driver
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
Python Sample
loading...
MicroPython Sample
loading...
JavaScript Sample
loading...
.NET Sample
loading...
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.
Standalone Script Sample
loading...
See Arduino page for more info.
Standalone Arduino Sample
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 |