Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I have a PIC24 chip, a TFT screen, and a SD card reader/SD card. The software I'm using is MPLAB v8 and Graphics Display Designer addon. What I want to do is use Graphics Display Designer in MPLAB to display an image from the SD card onto the screen. I am able to read/write to the SD card, and I'm able to display stuff on the screen (using GDD). How can I display an image from the SD card onto the screen?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I'm assuming you are using Microchip Graphics Library? If so, there are plenty of examples given to help you do this. I haven't used the library with an SD card, but it shouldn't be much different to displaying a image from program memory.

DemoPic

There is a tool (Graphics Resource Converter) to create the C code from an image to a const array in memory designed to work with the library. If you are just starting with all this, you may want to try using this and loading from program memory first, then from the SD card. Post the relevant bit of your code if you have problems.

Read the help documentation, particularly about the Graphics Object Layer, Graphics Primitive Layer, and the bits about PutImage and External Memory.

enter image description here

share|improve this answer
    
Ah! That's exactly what I was looking for I think. For anyone looking for this, it's in the MicrochipGraphicsLibrary\Microchip\Graphics\bin\grc\ folder. –  aharazin Sep 8 '11 at 20:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.