We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear Sir/Madam,
I am currently doing a project which is about reading BMP type images from SD card and displaying it. I have two questions to you.
1. How to initialize the micro-SD card and some more information about that.
2.In the GLCD.C there are two functions 1. void GLCD_Bmp (unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned char *bmp) 2. void GLCD_Bitmap (unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned char *bitmap)
Please anybody provides information about it.
I would be much obliged if you can provide me answers regarding my question
Thanks in advance
well. according to the dokumentation GLCD_Bmp does this
void GLCD_Bmp (unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned char *bmp) synopsis: takes 5 parameters does some calculations with them and returns
ans GLCD_Bitmap does this
void GLCD_Bitmap (unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned char *bitmap) Sysnopsis: takes 5 parameters does some different calculations with them and returns
interesting. worth more investigation. always nice to see how other people do calculations.
what they really do is very clever and is probably too complex for most to comprehend.
the source code looks like this
void GLCD_Bmp (unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned char *bmp) { GLCD_Bitmap (y, x, h, w, bmp); }
void GLCD_Bitmap (unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned char *bitmap) { GLCD_Bmp (x, y, w, h, bitmap); }