How to use bitmaps in embedded software for monochrome LCD?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use bitmaps in embedded software for monochrome LCD?

1,331 次查看
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 

标签 (1)
0 项奖励
回复
1 回复

621 次查看
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 项奖励
回复