-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdisplays.h
47 lines (41 loc) · 1.26 KB
/
displays.h
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
#ifndef _DISPLAYS_H_
#define _DISPLAYS_H_
#include "stm8.h"
#include "settings.h"
#define DISPLAYS_DOT 0x80
#define DISPLAYS_SYM_SPACE 0x00
#define DISPLAYS_SYM_DASH 0x40
#define DISPLAYS_SYM_I 0x06
#define DISPLAYS_SYM_J 0x0e
#define DISPLAYS_SYM_L 0x38
#define DISPLAYS_SYM_O 0x3f
#define DISPLAYS_SYM_P 0x73
#define DISPLAYS_SYM_S 0x6d
#define DISPLAYS_SYM_U 0x3e
#define DISPLAYS_SYM_n 0x54
#define DISPLAYS_SYM_o 0x5c
#define DISPLAYS_SYM_r 0x50
#define DISPLAYS_SYM_t 0x78
#define DISPLAYS_SYM_u 0x1c
#define DISPLAYS_SYM_0 0x3f
#define DISPLAYS_SYM_1 0x06
#define DISPLAYS_SYM_2 0x5b
#define DISPLAYS_SYM_3 0x4f
#define DISPLAYS_SYM_4 0x66
#define DISPLAYS_SYM_5 0x6d
#define DISPLAYS_SYM_6 0x7d
#define DISPLAYS_SYM_7 0x07
#define DISPLAYS_SYM_8 0x7f
#define DISPLAYS_SYM_9 0x6f
#define DISPLAYS_SYM_A 0x77
#define DISPLAYS_SYM_b 0x7c
#define DISPLAYS_SYM_C 0x39
#define DISPLAYS_SYM_d 0x5e
#define DISPLAYS_SYM_E 0x79
#define DISPLAYS_SYM_F 0x71
#define DISPLAYS_CHAR_E "\0x79"
extern const uint8_t DISPLAYS_DIGITS[];
void DISPLAYS_init(void);
void DISPLAYS_start(void);
void DISPLAYS_display(const uint8_t* a, const uint8_t* b);
#endif // _DISPLAYS_H_