10 years, 8 months ago.

Bitmap Tool for LCD12832 unsolved

Hi I am trying to create bitmap for LCD C12832 via .bmp file in the application board. I am using a LCD Assistant as my bit converter tool but the Bitmap generated just shows trash on the screen. I have attached my tool LCD ASSISTANT configuration. /media/uploads/zaincbs/untitled.png My array and structure for bitmap looks like this /media/uploads/zaincbs/bitmap.c

My main function looks like

/media/uploads/zaincbs/main.c.txt

If you have any tool to suggest please let me know.

Regards,

Zee

"Sharing is Caring"

1 Answer

10 years, 8 months ago.

You can copy paste your code within code tags (<<code>> and <</code>>) here. Also you can edit questions with more information.

In your screenshot the size is 112x29, in your code you use 104x29. The corresponding data also is 112x29, with 14 bytes per line, not 13. In general it is then easier to make a very simple image, and look what that one ends up as. Sadly there are different ways to encode an image, which is why there are several options in that program, and I have seen even more in other programs.

Quickly checking the code I *think* you also should put the Endianness on big.

Accepted Answer

Thank you I will try to make changes and see if things work out. How do you create your own simple Image? Any hints?

posted by Zain Ijaz 11 Apr 2014

I meant simply using paint, or something similar, to make a simple image of for example only a single thick line/filled rectangle.

posted by Erik - 11 Apr 2014