David Smart / Mbed 2 deprecated PUB_RA8875_mPaint

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).

/media/uploads/WiredHome/mpaint_screen01.png/media/uploads/WiredHome/mpaint_screen02.png

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.

/media/uploads/WiredHome/mpaint_buildinfo.png

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.


All wikipages