字符的取模

合集下载
相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
{
0x00,0x00,0x20,0x10,0x20,0x10,0x3F,0xF8,0x20,0x00,0x20,0x00,0x00,0x00,0x00,0x00,
};Baidu Nhomakorabea
unsigned char const ASCII_2[]= //2
{
0x00,0x00,0x30,0x70,0x28,0x08,0x24,0x08,0x22,0x08,0x21,0x88,0x30,0x70,0x00,0x00,
};
};
unsigned char const ASCII_3[]= //3
{
0x00,0x00,0x18,0x30,0x20,0x08,0x20,0x88,0x20,0x88,0x11,0x48,0x0E,0x30,0x00,0x00,
};
unsigned char const ASCII_4[]= //4
};
unsigned char const ASCII_7[]= //7
{
0x00,0x00,0x00,0x38,0x00,0x08,0x3F,0x08,0x00,0xC8,0x00,0x38,0x00,0x08,0x00,0x00,
};
unsigned char const ASCII_8[]= //8
{
0x00,0x00,0x07,0x00,0x04,0xC0,0x24,0x20,0x24,0x10,0x3F,0xF8,0x24,0x00,0x00,0x00,
};
unsigned char const ASCII_5[]= //5
{
/*--宋体12;此字体下对应的点阵为:宽x高=8x16 --*/
0x00,0x00,0x19,0xF8,0x21,0x08,0x20,0x88,0x20,0x88,0x11,0x08,0x0E,0x08,0x00,0x00,
};
unsigned char const ASCII_6[]= //6
{
0x00,0x00,0x0F,0xE0,0x11,0x10,0x20,0x88,0x20,0x88,0x11,0x18,0x0E,0x00,0x00,0x00,
unsigned char const ASCII_0[]= //0
{
0x00,0x00,0x0F,0xE0,0x10,0x10,0x20,0x08,0x20,0x08,0x10,0x10,0x0F,0xE0,0x00,0x00,
};
unsigned char const ASCII_1[]= //1
0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,
纵向时,我们应该上下读这些数,并且,我们读的是从16位中的第八位开始读,就是,
7--0,然后,再读15—8,然后,加在一起就是16位了。
纵向的取模
这个是横向的
第一行0x00,第二行0x00,第三行0x00,第四行0x10,第五行0x70第六行0x10,第七行0x10第八行0x10,第九行0x10,第十行0x10,第十一行0x10第十二行0x10,第十三行0x10,第十四行0x7C,第十五行0x00,第十六行0x00
并且它的我们在读他们的数时,我们从右往左读,也就是,高位是左边四位,低位为右边四个。
{
0x00,0x00,0x1C,0x70,0x22,0x88,0x21,0x08,0x21,0x08,0x22,0x88,0x1C,0x70,0x00,0x00,
};
unsigned char const ASCII_9[]= //9
{
0x00,0x00,0x00,0xE0,0x31,0x10,0x22,0x08,0x22,0x08,0x11,0x10,0x0F,0xE0,0x00,0x00,
相关文档
最新文档