Before start, you have to install UTFT library on your Arduino IDE.
Once installed, it's a program ImageConverter565.exe in the Tools directory under the library, used to convert image files to array in .c (.raw) format, can be loaded in our sketch.
This video show how:
Example code, MegaUTFTBitmap.ino
#include <UTFT.h>
UTFT myGLCD(CTE32HR,38,39,40,41);
extern unsigned int Arduinoer[];
void setup() {
// put your setup code here, to run once:
myGLCD.InitLCD();
myGLCD.clrScr();
myGLCD.drawBitmap(0, 0, 100, 100, Arduinoer);
}
void loop() {
// put your main code here, to run repeatedly:
}
HI, thanks for that really work very well, but i woudl like to know how we can see the image bigger becausa when i try to increase the piexels the arduino consule send the error "size of the array is too large"
ReplyDeletesame thing happen to me
DeleteHello
ReplyDeletesorry for my english is bad
your Skecth of icon bitmap for arduino due
myGLCD.drawBitmap (xxxxxxxxxxxx);
is no run,
no matching function for call utft
Install first the correct UTFT library. And TRY again, ..., be carefully to size of bitmap. Have fun!
ReplyDeleteHello I have a problem about Picture (Bitmap)
ReplyDeleteI have data from Covense Bitmap File to array Size of 100,000-200,000 byte
in Arduino Program Can't Vertify because So size of arry is Large
I tried to be Change of type value "long int" "long Double" So can't it
May I so ask for help to me please ? tell me about Edit Code
Thank you Sir .......... Astro Rom
please explain step by step what you are doing in video or please note it somewhere and put it up for others to copy ,remember step by step
ReplyDelete