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?


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.


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

| improve this answer | |
  • \$\begingroup\$ 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. \$\endgroup\$ – aharazin Sep 8 '11 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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