Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Public Projects
dotmatrixmodule
Commits
d604bd17
Commit
d604bd17
authored
Jun 01, 2019
by
Alexander Detsch
🐘
Browse files
added font and test text
parent
4a8f3408
Changes
2
Hide whitespace changes
Inline
Side-by-side
dotmatrixmodule/dotmatrixmodule/lib/font.h
View file @
d604bd17
...
...
@@ -51,31 +51,31 @@ const uint8_t font[] PROGMEM = {
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
// 0x3F, 63, ?
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
// 0x40, 64, @
0x7e
,
0x09
,
0x09
,
0x09
,
0x7e
,
0x05
,
// 0x41, 65, A
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x05
,
// 0x42, 66, B
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x43, 67, C
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x44, 68, D
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x45, 69, E
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
0
0
,
0x0
0
,
// 0x46, 70, F
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x47, 71, G
0x
00
,
0x0
0
,
0x0
0
,
0x0
0
,
0x
00
,
0x0
0
,
// 0x48, 72, H
0x
00
,
0x00
,
0x00
,
0x0
0
,
0x00
,
0x00
,
// 0x49, 73, I
0x0
0
,
0x0
0
,
0x
00
,
0x
00
,
0x
0
0
,
0x0
0
,
// 0x4A, 74, J
0x
00
,
0x0
0
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x4B, 75, K
0x
00
,
0x0
0
,
0x0
0
,
0x0
0
,
0x0
0
,
0x0
0
,
// 0x4C, 76, L
0x
00
,
0x
0
0
,
0x
00
,
0x
0
0
,
0x
00
,
0x0
0
,
// 0x4D, 77, M
0x
00
,
0x
0
0
,
0x0
0
,
0x0
0
,
0x
00
,
0x0
0
,
// 0x4E, 78, N
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x4F, 79, O
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
0
0
,
0x0
0
,
// 0x50, 80, P
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x51, 81, Q
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x52, 82, R
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x53, 83, S
0x
0
0
,
0x
0
0
,
0x
00
,
0x
0
0
,
0x
0
0
,
0x0
0
,
// 0x54, 84, T
0x
00
,
0x0
0
,
0x0
0
,
0x0
0
,
0x
00
,
0x0
0
,
// 0x55, 85, U
0x
00
,
0x0
0
,
0x0
0
,
0x0
0
,
0x
00
,
0x0
0
,
// 0x56, 86, V
0x
00
,
0x0
0
,
0x0
0
,
0x0
0
,
0x
00
,
0x0
0
,
// 0x57, 87, W
0x
00
,
0x
00
,
0x0
0
,
0x
00
,
0x
00
,
0x0
0
,
// 0x58, 88, X
0x
0
0
,
0x0
0
,
0x0
0
,
0x0
0
,
0x
0
0
,
0x0
0
,
// 0x59, 89, Y
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x0
0
,
// 0x5A, 90, Z
0x
41
,
0x
7f
,
0x
49
,
0x
49
,
0x
36
,
0x05
,
// 0x42, 66, B
0x
3E
,
0x
41
,
0x
41
,
0x
41
,
0x
22
,
0x0
5
,
// 0x43, 67, C
0x
7F
,
0x
41
,
0x
41
,
0x
22
,
0x
1C
,
0x0
5
,
// 0x44, 68, D
0x
7F
,
0x
49
,
0x
49
,
0x
49
,
0x
41
,
0x0
5
,
// 0x45, 69, E
0x
7F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5
,
// 0x57, 87, W
0x
63
,
0x
14
,
0x0
8
,
0x
14
,
0x
63
,
0x0
5
,
// 0x58, 88, X
0x
7
0
,
0x0
8
,
0x0
7
,
0x0
8
,
0x
7
0
,
0x0
5
,
// 0x59, 89, Y
0x
43
,
0x
45
,
0x
49
,
0x
51
,
0x
61
,
0x0
5
,
// 0x5A, 90, Z
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
// 0x5B, 91, [
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
// 0x5C, 92,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
// 0x5D, 93, [
...
...
dotmatrixmodule/dotmatrixmodule/lib/texts.h
View file @
d604bd17
...
...
@@ -15,7 +15,7 @@
#include
<string.h>
// Change these values to adjust scroll speeds and animation iterations
#define TEXT_SCROLL_SPEED
15
00 // how fast to scroll the text
#define TEXT_SCROLL_SPEED
3
00 // how fast to scroll the text
#define REPEAT_TEXT 5 // how often to repeat the text if in cycling mode
// How to add a new message:
...
...
@@ -24,7 +24,7 @@
// * add the new message to messages
// NOTE: messages may not be longer than 59 chars. Otherwise they will not fit in the buffer.
// 123456789012345678901234567890123456789012345678901234567890
const
char
PROGMEM
message_00
[]
=
"A"
;
const
char
PROGMEM
message_00
[]
=
"A
BCDEFGHIJKLMNOPQRSTUVWXYZ
"
;
const
char
PROGMEM
message_01
[]
=
" I AM NO BOMB! "
;
const
char
PROGMEM
message_02
[]
=
" 5 4 3 2 1 ... BOOM! "
;
const
char
PROGMEM
message_03
[]
=
" I'M SORRY DAVE, I'M AFRAID I CAN'T DO THAT. "
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment