forked from bracci/Qlockthree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Woerter_DE_MKF.h
59 lines (53 loc) · 2.11 KB
/
Woerter_DE_MKF.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
48
49
50
51
52
53
54
55
56
57
58
59
/**
Woerter_DE_MKF
Definition der deutschen Woerter fuer die Zeitansage.
Hier in einer anderen Variante nach der Matix von Gerog M.
Sie entspricht dem Layout aus dem Mikrocontroller.net
Die Woerter sind Bitmasken fuer die Matrix.
01234567890
0 ESKISTLFUNF
1 ZEHNZWANZIG
2 DREIVIERTEL
3 TGNACHVORJM
4 HALBQZWOLFP
5 ZWEINSIEBEN
6 KDREIRHFUNF
7 ELFNEUNVIER
8 WACHTZEHNRS
9 BSECHSFMUHR
@mc Arduino/RBBB
@autor Christian Aschoff / caschoff _AT_ mac _DOT_ com
@version 1.0
@created 28.10.2012
*/
#ifndef WOERTER_DE_MKF_H
#define WOERTER_DE_MKF_H
/**
Definition der Woerter
*/
#define DE_MKF_VOR matrix[3] |= 0b0000001110000000
#define DE_MKF_NACH matrix[3] |= 0b0011110000000000
#define DE_MKF_ESIST matrix[0] |= 0b1101110000000000
#define DE_MKF_UHR matrix[9] |= 0b0000000011100000
#define DE_MKF_AM matrix[0] |= 0b1000000000000000
#define DE_MKF_PM matrix[0] |= 0b0100000000000000
#define DE_MKF_FUENF matrix[0] |= 0b0000000111100000
#define DE_MKF_ZEHN matrix[1] |= 0b1111000000000000
#define DE_MKF_VIERTEL matrix[2] |= 0b0000111111100000
#define DE_MKF_ZWANZIG matrix[1] |= 0b0000111111100000
#define DE_MKF_HALB matrix[4] |= 0b1111000000000000
#define DE_MKF_DREIVIERTEL matrix[2] |= 0b1111111111100000
#define DE_MKF_H_EIN matrix[5] |= 0b0011100000000000
#define DE_MKF_H_EINS matrix[5] |= 0b0011110000000000
#define DE_MKF_H_ZWEI matrix[5] |= 0b1111000000000000
#define DE_MKF_H_DREI matrix[6] |= 0b0111100000000000
#define DE_MKF_H_VIER matrix[7] |= 0b0000000111100000
#define DE_MKF_H_FUENF matrix[6] |= 0b0000000111100000
#define DE_MKF_H_SECHS matrix[9] |= 0b0111110000000000
#define DE_MKF_H_SIEBEN matrix[5] |= 0b0000011111100000
#define DE_MKF_H_ACHT matrix[8] |= 0b0111100000000000
#define DE_MKF_H_NEUN matrix[7] |= 0b0001111000000000
#define DE_MKF_H_ZEHN matrix[8] |= 0b0000011110000000
#define DE_MKF_H_ELF matrix[7] |= 0b1110000000000000
#define DE_MKF_H_ZWOELF matrix[4] |= 0b0000011111000000
#endif