Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 7 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. 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, 7 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.