UI设计的png图片
把每个字抠出来转为bmp图片,注意每个字模的高度要是8的倍数
打开128X64取字软件: PCtoLCD2002.exe,进入选项:
设置好后点确定
点击【打开一个BMP图像】的按钮,选择8.bmp,显示8,点击【生成字模】
就得到了数字8的字模:
数字8:
0x00,0xE0,0xE0,0xE0,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xE0,0xE0,0xE0,
0x00,0x00,0xC7,0xC7,0xC7,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0xC7,0xC7,
0xC7,0x00,0x00,0x0F,0x0F,0x0F,0x70,0x70,0x70,0x70,0x70,0x70,0x70,0x70,0x70,0x0F,
0x0F,0x0F,0x00,