Portal CP70
7" - 800x400 Color Touch Display with Graphics Co-Processor
- Overview
- Driver
- Tethered Samples
- Standalone Samples
Portal CP70 7" 800x400 display with optional capacitive touch. This module includes a graphics co-processor BT817Q. Drawing using this module will be done via the powerful graphics coprocessor and not the internal graphics engine.
Key features • Full Color 800x400 Pixels | Resources PID: 0x010009 |
Cables are not always included, see 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(w, h, b) | Initialize display with width w, height h, and brightness b (0–100). |
DrawPixel(c, x, y) | Draw a pixel at (x,y) with color c. |
DrawLine(c, x, y, m, n) | Draw a line from (x,y) to (m,n) with color c. |
DrawCircle(c, x, y, r, f) | Draw a circle at (x,y) with radius r, color c. f=1 filled, f=0 outline. |
DrawRect(c, x, y, w, h, f) | Draw a rectangle at (x,y) with size w×h, color c. f=1 filled, f=0 outline. |
DrawString(b0, c, x, y, f, o) | Draw text from byte array b0 at (x,y) with color c, font f, and character offset o. |
ClearScreen(c) | Clear the screen with color c. |
FlushScreen() | Execute display list and update the screen. |
UpdTouch() | Update touch. Read _x and _y for touch x,y. |
DVer() | Return 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 Portal CP70 (No Touch) | GDL-DSPRTLCP70-B-NA | $99.95 |
| DUELink Portal CP70 (w/ Capacitive Touch) | GDL-DSPRTLCP70-B-CP | $129.95 |