-
Notifications
You must be signed in to change notification settings - Fork 16
/
picture.c
85 lines (84 loc) · 3.66 KB
/
picture.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/****************************
* use to ST7567A 128*32 dot LCD.
* progranmmer: Jex Mo
* Version: V1.0
* date: 2020-12-4
* URL: https://github.com/mworkfun/ST7567A_128X32DOT_LCD
****************************/
#include <avr/pgmspace.h>
/********************************************************
* picture pixel table
* picture:
* x y---------------------> + 128
* | |
* | |
* |---------------------
* | +
* v 32
********************************************************/
const int picture[] PROGMEM ={
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,
0xC8,0x00,0x74,0x54,0x7C,0x54,0x7C,0x54,
0x74,0x04,0x00,0x88,0x88,0xE8,0xA8,0xA8,
0xAC,0xA8,0xA8,0xE8,0x88,0x88,0x00,0x10,
0xF0,0x1C,0xF0,0x10,0x10,0x10,0xFC,0x10,
0x10,0x10,0x00,0x10,0xF0,0x1C,0xF0,0x00,
0xF8,0xA8,0xAC,0xA8,0xF8,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x80,0x40,0x40,0x40,0x80,0x80,
0x40,0x40,0x40,0x40,0xC0,0x40,0x40,0x40,
0x40,0x40,0x80,0x80,0x00,0x80,0x80,0x80,
0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,
0x1F,0x00,0x14,0x0D,0x05,0x15,0x1D,0x05,
0x0D,0x14,0x00,0x11,0x10,0x08,0x06,0x02,
0x02,0x02,0x1E,0x10,0x10,0x1D,0x00,0x13,
0x0A,0x04,0x0B,0x00,0x1F,0x11,0x11,0x11,
0x11,0x1F,0x00,0x10,0x0B,0x04,0x0B,0x00,
0x1F,0x10,0x0B,0x04,0x0A,0x11,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x80,0x60,0x10,0x8C,
0x82,0x41,0xA0,0x60,0x18,0x80,0x44,0x22,
0x22,0x44,0x80,0x01,0x84,0x42,0x22,0x24,
0x40,0x8C,0x30,0x42,0x81,0x80,0x00,0x00,
0x00,0x07,0x78,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,
0x91,0x55,0xF5,0x5D,0x57,0x55,0x55,0xD5,
0x11,0x10,0x00,0x11,0x16,0xF0,0x04,0x14,
0x64,0x04,0x04,0xFF,0x04,0x04,0x00,0x20,
0x22,0x2A,0xB2,0x62,0xFF,0x62,0xB2,0x2A,
0x22,0x20,0x00,0x00,0x1C,0x7E,0x7E,0x1C,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x01,0xF1,0x0C,
0x02,0x01,0xE0,0x10,0x08,0x09,0x12,0x94,
0x97,0x2B,0x29,0x28,0x21,0x12,0x14,0x17,
0x23,0xC1,0xE0,0x10,0x00,0x00,0x01,0x03,
0x0D,0xF2,0x02,0x03,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x00,0x00,0x07,0x05,0x05,0x05,0x05,0x07,
0x00,0x80,0x80,0x84,0x02,0x01,0x02,0x84,
0x84,0x85,0x85,0x05,0x84,0x84,0x80,0x02,
0x02,0x01,0x80,0x80,0x87,0x80,0x00,0x01,
0x02,0x02,0x00,0x00,0x00,0x03,0x03,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
};