-
Notifications
You must be signed in to change notification settings - Fork 0
/
morsym.c
73 lines (71 loc) · 1.21 KB
/
morsym.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
/*
* ITU Morse Code Symbol Table
*/
#include "morsym.h"
const uint8_t sym[] PROGMEM = {
0b10000000, //" "
0b01101011, //!
0b01010010, //"
0x0, //#
0b10001001, //$
0b01000101, //%
0b00100101, //&
0b01011110, //'
0b00110110, //(
0b01101101, //)
0b00011001, //* (substitute X)
0b00101010, //+
0b01110011, //,
0b01100001, //-
0b01010101, //.
0b00110010, ///
0b00111111, //0
0b00101111, //1
0b00100111, //2
0b00100011, //3
0b00100001, //4
0b00100000, //5
0b00110000, //6
0b00111000, //7
0b00111100, //8
0b00111110, //9
0b01111000, //:
0b01101010, //;
0x0, //<
0b00110001, //=
0x0, //>
0b01001100, //?
0b01011010, //@
0b00000101, //A
0b00011000, //B
0b00011010, //C
0b00001100, //D
0b00000010, //E
0b00010010, //F
0b00001110, //G
0b00010000, //H
0b00000100, //I
0b00010111, //J
0b00001101, //K
0b00010100, //L
0b00000111, //M
0b00000110, //N
0b00001111, //O
0b00010110, //P
0b00011101, //Q
0b00001010, //R
0b00001000, //S
0b00000011, //T
0b00001001, //U
0b00010001, //V
0b00001011, //W
0b00011001, //X
0b00011011, //Y
0b00011100, //Z
0x0, //[
0x0, //backslash
0x0, //]
0x0, //^
0b01001101, //_
0b01011110 //`
};