我想在彩屏上显示马年大吉 建立了头文件 头文件如下
#include "stm32f10x.h"
//pic
char Hzk[][32]={
//No:0 马 使用频度=1
{ 0x00,0x00,0x3F,0xE0,0x00,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x08,0x20,0x0F,0xFC,0x00,0x04,0x00,0x04,0x7F,0xF4,0x00,0x04,0x00,0x04,0x00,0x34,0x00,0x08,0x00,0x00},
//No:1 年 使用频度=1
{ 0x08,0x00,0x0F,0xFC,0x10,0x80,0x10,0x80,0x20,0x80,0x4F,0xF8,0x88,0x80,0x08,0x80,0x08,0x80,0x08,0x80,0xFF,0xFE,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80},
//No:2 吉 使用频度=1
{ 0x01,0x00,0x01,0x04,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x08,0x7F,0xFC,0x00,0x00,0x00,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10,0x00,0x00},
//No:3 祥 使用频度=1
{ 0x21,0x04,0x10,0x88,0x10,0x50,0xFD,0xFE,0x04,0x20,0x08,0x20,0x11,0xFC,0x38,0x20,0x54,0x20,0x94,0x20,0x13,0xFE,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x20,0x10,0x20},
0};
编译也都通过了 然后要怎么样才能够在屏幕上显示汉字呢?
|