How to use bitmaps in embedded software for monochrome LCD?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use bitmaps in embedded software for monochrome LCD?

1,324 Views
FordFairlane
Contributor I

Hello embedded engineers

I'm developing an embedded app wich uses a 240x160 monochrome LCD. I usually draw the images in Excel and convert them to hex arrays like this:

const unsigned char bitmap_9x15_0[2+17]={    9,15,    0x7C,0xDC,0x1D,0x1F,0x3C,0x78,0xF0,0xE0,0xC1,0x83,0x07,0x0F,0x1E,0x7C,0xDC,0x1D,0x1F};

Now I have to print to the screen more complex images (company logo, icons...).

What's the best way to do it?, is there a freeware PC app which converts images to C source code?

I'm using S08AW60.

Thanks in advance 

Labels (1)
0 Kudos
Reply
1 Reply

614 Views
J2MEJediMaster
Specialist I

The attached freeware utility BMP2C.exe, converts a BMP image map to C source and header files. See Application Note AN3415 for tesrse information on how to use the utility.

 

---Tom

 

0 Kudos
Reply