Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: menu mbed RA8875
You are viewing an older revision! See the latest version
Homepage
mPaint¶
This might be considered an mbed Paint - for the RA8875 Display with touchscreen.
Having had several of the 4.3" WQVGA displays with the RA8875 for some time, I created the RA8875 driver library. Absent for some time was support for the touch-screen interface. With contributions by others, and some recent work, that is now part of the standard library.
How to demonstrate the library - including the touch screen support? mPaint.
Screen Shots¶
Here's a couple of screen shots - you can capture the "canvas" or the composite image (which also gets the menus).
![]() | ![]() |
Program Build Info¶
I'm sometimes a bit skeptical of the reported metrics (perhaps because most of my mbed applications have Ethernet), but here is the reported information from the build of this program.
How does this possibly have a 1.6 kB RAM footprint you might wonder? The answer is that the display is used as a "write-only" memory, and it has enough for two full screens (in the WQVGA mode). If you don't like what "ink" you put down, you can draw over it (much like other paint programs). There is no "undo".
So, mostly, the RAM is for transient information.

