PCD8544 multiscreen

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers font_16x24.h Source File

font_16x24.h

00001 #ifndef _FONT_16x24_H_
00002 #define _FONT_16x24_H_
00003 
00004 //----- DEFINES -----
00005 #define FONT16x24_START                   0x20
00006 #define FONT16x24_END                     0x44
00007 #define FONT16x24_WIDTH                   11
00008 #define FONT16x24_HEIGHT                  24
00009 #define FONT16x24_BYTES                   3
00010 
00011 //used here for displaying numbers 0 - 9 and '+', '-', '.'
00012 
00013 unsigned char   font_16x24[36][3][11]  = 
00014 {
00015 
00016   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x20
00017   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x21
00018   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x22
00019   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x23
00020   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x24
00021   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x25
00022   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x26
00023   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x27
00024   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x28
00025   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x29
00026   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x2A
00027 
00028   0,0,0,0,0,0,0,0,0,0,0    ,    0,0,0,0,64,64,64,254,254,64,64 , 0,0,0,0,0,0,0,15,15,0,0   ,//'+'// 0x2B
00029   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x2C
00030  
00031   0,0,0,0,0,0,0,0,0,0,0    ,    0,64,64,64,64,64,64,0,0,0,0    , 0,0,0,0,0,0,0,0,0,0,0     , //'-'// 0x2D
00032   0,0,0,0,0,0,0,0,0,0,0    ,    0,0,0,0,0,0,0,0,0,0,0  ,       0,0,0,60,60,60,0,0,0,0,0    , //'.'  // 0x2E
00033   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x2F
00034   
00035   0,128,192,224,224,96,224,224,192,128,0  ,  112,255,255,1,0,0,0,0,255,255,254  ,  0,15,31,60,56,48,56,56,31,15,3  , //'0' 0x30
00036   0,0,0,0,128,224,224,0,0,0,0  ,  0,0,3,3,3,255,255,0,0,0,0  ,  0,0,56,56,56,63,63,56,56,56,0    , //'1' 0x31
00037   0,192,192,224,96,96,224,224,192,128,0    ,    0,1,0,0,128,192,224,249,63,31,0   ,    0,60,62,63,63,59,57,56,56,56,56    ,//'2' 0x32
00038   0,192,224,224,96,96,224,224,192,192,0    ,    0,1,0,0,48,48,56,125,239,207,0    ,    0,28,56,56,48,48,56,60,31,15,1    ,//'3'0x33
00039   0,0,0,0,0,128,192,224,224,0,0    ,    224,240,248,222,207,199,193,255,255,192,192   ,    0,0,0,0,0,0,0,63,63,0,0    ,//'4'0x34
00040   0,224,224,224,224,224,224,224,224,224,224   ,    0,63,63,63,56,56,48,112,240,224,0  ,    0,28,56,56,48,48,56,60,31,15,1  , //'5'0x35
00041   0,0,128,192,192,224,96,96,224,224,0    ,    224,254,255,55,57,24,24,56,240,240,192  ,    0,15,31,28,56,48,48,56,31,15,7  ,//'6'0x36
00042   0,224,224,224,224,224,224,224,224,224,224  ,   0,0,0,0,128,224,248,126,31,7,1    ,  0,0,56,62,31,7,1,0,0,0,0    ,//'7'0x37
00043   0,128,192,224,224,96,96,224,192,192,0    ,    0,207,255,127,56,48,112,112,255,239,199    ,    3,15,31,60,56,48,48,56,31,31,15  ,   //'8'0x38
00044   0,128,192,224,224,96,224,224,192,128,0   ,    12,63,127,241,224,192,192,225,255,255,254  ,    0,0,56,48,48,56,56,30,15,7,0,     //'9'0x39
00045   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x3A
00046   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x3B
00047   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x3C
00048   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x3D
00049   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x3E
00050   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x3F
00051   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x40
00052   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x41
00053   0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,  0,0,0,0,0,0,0,0,0,0,0  ,// 0x42
00054   0,128,192,224,224,96,224,224,192,128,0  ,  112,112,112,1,0,0,0,0,112,112,112  ,  0,0,0,0,0,0,0,0,0,0,0    //'C' 0x43
00055 };
00056 
00057 #endif
00058