
This page presents a library to use a SMARTGPU intelligent embedded graphics processor with a 2.4" touch screen from vizic technologies: http://www.vizictechnologies.com/#/development/4554296549
RESET.
FAT(windows PC), Support up to 4GB for storing images and text.


SMARTGPU explained

SMARTGPU mounted on Arduino

SMARTGPU doesn’t need any configuration or programming on itself, it’s a slave device that only receives orders, reducing and facilitating dramatically the code size, complexity and processing load on your favorite main processor.

#include <SMARTGPU.h>
in your main sketch and create the object:
SMARTGPU lcd; //Create the object
There is also a project called libSGPUQ, that is SMART GPU Queue library for short. The project needs a bit work to do before it can be used. But the library uses queue instead of busy-waiting, which improves performance and lets Arduino work on other tasks.
#include <SMARTGPU.h> //include the SMARTGPU library!
SMARTGPU lcd; //create our object called LCD
char message[]="Hello World";
void setup() { //initial setup
//Those two functions must always be called for SMARTGPU support
lcd.init(); //configure the serial and pinout of arduino board for SMARTGPU support
lcd.start(); //initialize the SMARTGPU processor
}
void loop() { //main loop
lcd.erase(); //erase screen
lcd.putPixel(300,200,CYAN); //draw a pixel
lcd.drawLine(50,50,150,200,WHITE); //draw a line
lcd.drawRectangle(10,10,200,180,RED,UNFILL); //draw a rectangle
lcd.drawCircle(160,120,50,GREEN,UNFILL); //draw a circle
lcd.drawTriangle(15,15,200,210,180,70,BLUE,UNFILL); //draw a triangle
lcd.putLetter(100,100,MAGENTA,FONT3,TRANS,'E'); //write a single letter 'E'
lcd.imageSD(0,0,"hydra320"); //Open image "hydra320.bmp" stored on the microSD card
lcd.string(10,10,300,220,YELLOW,FONT3,TRANS,"String test for SMARTGPU"); //write a string on the screen
lcd.stringSD(5,50,300,230,MAGENTA,FONT3,TRANS,BEGINNING,ALLCONTENTS,"text1"); //call the text file "text1.txt" previously stored on the micro SD card
}
Here are some videos of SMARTGPU + Arduino:
All the Source Code of those videos, and many other examples could be downloaded from HERE.