请教:如何把下面的二進制码转换为图片文件,谢谢 (二進制码在液晶屏1602上可显示图片)

yefeiping   2007-12-14 16:02 楼主
0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x40,0x01,0x08,0x12,0x20,0x21,0x04,0x10,0x00,
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x4F,0xE0,0x90,0x2A,0xA1,0xC1,0x04,
0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x42,0x07,0xFF,0x4A,0xA0,
0x49,0x04,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xF2,0x04,0x92,
0x0F,0xB8,0x45,0x1E,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,
0x02,0x94,0x10,0x53,0xF1,0x04,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x54,0x0F,0xFF,0x2F,0xD0,0x49,0x06,0x7C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x6F,0xC0,0x00,0x60,0x50,0xE5,0x0C,0x44,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0xD4,0x41,0xFC,0x27,0x51,0x51,0xD4,0x44,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x41,0x04,0x25,0x22,0x5F,0x04,0x28,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x41,0xFC,0x25,0xA0,0x41,0x04,
0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x47,0xC1,0x04,0x29,0x50,
0x41,0x04,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC4,0x41,0xFC,
0x30,0x88,0x41,0x0D,0xC6,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x7C,0xE7,0x91,0x11,0x10,0x20,0x89,0xC7,0x1C,0xF8,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x14,0x51,0x29,0x10,0x20,0xDA,0x28,0xA2,0x08,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x14,0x51,0x44,0xA0,0x20,0xA8,0x28,
0x82,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x17,0x95,0x7C,0x40,0x20,
0xA8,0xC8,0x8C,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x14,0x15,0x44,
0x40,0x20,0x88,0x28,0x82,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x14,
0x15,0x44,0x40,0x20,0x8A,0x28,0xA2,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x10,0xE4,0x0A,0x44,0x40,0x3E,0x89,0xC7,0x1C,0x20,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x10,0x41,0x00,0x71,0xC0,0x00,0x20,0x00,0x18,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x30,0xC3,0x22,0x8A,0x20,0x00,0x00,0x00,0x08,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x45,0x14,0x08,0x20,0x3C,0x62,0x27,
0x08,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x12,0x49,0x08,0x30,0x40,0x22,
0x21,0x48,0x88,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x13,0xEF,0x88,0x08,
0x80,0x3C,0x20,0x8F,0x88,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x41,
0x14,0x89,0x00,0x20,0x21,0x48,0x08,0x08,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,
0x38,0x41,0x22,0x73,0xE0,0x20,0x72,0x27,0x1C,0xF0,0x00,0x00,0x00,0x01,0xC0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03

回复评论 (4)

如果这个是一个图的数据话
直接写到LCD 上,应该就可以了饿 呵呵

点赞  2007-12-16 15:18
1、先看看你的LCD是不是图形LCD,如果是才可以显示图形
2、再看看上面一堆二进制是怎样取模的
3、看LCD的数据手册怎样设置LCD的地址,设置这幅图的首地址,也就是这堆二进制左上角 0xC0 的地址
4、看LCD数据手册,这个LCD的行地址和列地址是怎样增加的,有的LCD在写入一个字节后列地址会自动加1,有的则需要程序加1
5、网上有很多例子,可以看看,
6、自己写个程序,买个LCD,搭个电路,边调试,边修改程序,很快OK了。
点赞  2008-4-23 16:29
1602一般邦定的芯片。很少有图形的。
点赞  2008-4-24 22:00
这个简单啊,网上搜一下就得到答案了.
点赞  2008-4-30 21:37
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复