set32l010 oled
Dependents: oled_test8_16x24_010_1
font_16x24.h@1:ad63de2ea3ff, 2022-08-06 (annotated)
- Committer:
- caa45040
- Date:
- Sat Aug 06 06:42:04 2022 +0000
- Revision:
- 1:ad63de2ea3ff
- Parent:
- 0:e65e15783b26
stm32l010 oled cut
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
caa45040 | 0:e65e15783b26 | 1 | |
caa45040 | 0:e65e15783b26 | 2 | #ifndef _FONT_16x24_H_ |
caa45040 | 0:e65e15783b26 | 3 | #define _FONT_16x24_H_ |
caa45040 | 0:e65e15783b26 | 4 | |
caa45040 | 0:e65e15783b26 | 5 | //----- DEFINES ----- |
caa45040 | 0:e65e15783b26 | 6 | #define FONT16x24_START 0x20 |
caa45040 | 0:e65e15783b26 | 7 | #define FONT16x24_END 0x44 |
caa45040 | 0:e65e15783b26 | 8 | #define FONT16x24_WIDTH 11 |
caa45040 | 0:e65e15783b26 | 9 | #define FONT16x24_HEIGHT 24 |
caa45040 | 0:e65e15783b26 | 10 | #define FONT16x24_BYTES 3 |
caa45040 | 0:e65e15783b26 | 11 | |
caa45040 | 0:e65e15783b26 | 12 | //Used for displaying numbers 0 - 9 and '+', '-', '.' |
caa45040 | 0:e65e15783b26 | 13 | |
caa45040 | 0:e65e15783b26 | 14 | const uint8_t font_16x24[36][3][11] = |
caa45040 | 0:e65e15783b26 | 15 | { |
caa45040 | 0:e65e15783b26 | 16 | |
caa45040 | 0:e65e15783b26 | 17 | 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 |
caa45040 | 0:e65e15783b26 | 18 | 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 |
caa45040 | 0:e65e15783b26 | 19 | 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 |
caa45040 | 0:e65e15783b26 | 20 | 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 |
caa45040 | 0:e65e15783b26 | 21 | 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 |
caa45040 | 0:e65e15783b26 | 22 | 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 |
caa45040 | 0:e65e15783b26 | 23 | 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 |
caa45040 | 0:e65e15783b26 | 24 | 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 |
caa45040 | 0:e65e15783b26 | 25 | 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 |
caa45040 | 0:e65e15783b26 | 26 | 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 |
caa45040 | 0:e65e15783b26 | 27 | 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 |
caa45040 | 0:e65e15783b26 | 28 | |
caa45040 | 0:e65e15783b26 | 29 | 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 |
caa45040 | 0:e65e15783b26 | 30 | 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 |
caa45040 | 0:e65e15783b26 | 31 | |
caa45040 | 0:e65e15783b26 | 32 | 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 |
caa45040 | 0:e65e15783b26 | 33 | 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 |
caa45040 | 0:e65e15783b26 | 34 | 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 |
caa45040 | 0:e65e15783b26 | 35 | |
caa45040 | 0:e65e15783b26 | 36 | 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 |
caa45040 | 0:e65e15783b26 | 37 | 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 |
caa45040 | 0:e65e15783b26 | 38 | 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 |
caa45040 | 0:e65e15783b26 | 39 | 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 |
caa45040 | 0:e65e15783b26 | 40 | 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 |
caa45040 | 0:e65e15783b26 | 41 | 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 |
caa45040 | 0:e65e15783b26 | 42 | 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 |
caa45040 | 0:e65e15783b26 | 43 | 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 |
caa45040 | 0:e65e15783b26 | 44 | 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 |
caa45040 | 0:e65e15783b26 | 45 | 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 |
caa45040 | 0:e65e15783b26 | 46 | 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 |
caa45040 | 0:e65e15783b26 | 47 | 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 |
caa45040 | 0:e65e15783b26 | 48 | 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 |
caa45040 | 0:e65e15783b26 | 49 | 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 |
caa45040 | 0:e65e15783b26 | 50 | 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 |
caa45040 | 0:e65e15783b26 | 51 | 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 |
caa45040 | 0:e65e15783b26 | 52 | 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 |
caa45040 | 0:e65e15783b26 | 53 | 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 |
caa45040 | 0:e65e15783b26 | 54 | 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 |
caa45040 | 0:e65e15783b26 | 55 | 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 |
caa45040 | 0:e65e15783b26 | 56 | }; |
caa45040 | 0:e65e15783b26 | 57 | |
caa45040 | 0:e65e15783b26 | 58 | #endif |