If you have a colour image that you wish to display on glcd, you have to convert it in to monochrome
or if you have monochrome then skip step
1.
Step 1: Edit image and save as monochrome
Step 2: Resize image to 128x64 and save
Step 3: Open Bmp2Asm application (Click here to download Bmp2asm). Load your image then check stretch and click on convert.
Step 4: Copy hex code and paste it somewhere to edit, here it is in text file. Delete all 'dt' and Put hex code in an array as shown below
Step 5: Copy this array in to your code and use it in your image print tool. Done!! ;)
No comments:
Post a Comment