Commit d604bd17 authored by Alexander Detsch's avatar Alexander Detsch 🐘
Browse files

added font and test text

parent 4a8f3408
......@@ -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
0x00, 0x00, 0x00, 0x00, 0x00, 0x05 , // 0x42, 66, B
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x43, 67, C
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x44, 68, D
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x45, 69, E
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x46, 70, F
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x47, 71, G
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x48, 72, H
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x49, 73, I
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x4A, 74, J
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x4B, 75, K
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x4C, 76, L
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x4D, 77, M
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x4E, 78, N
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x4F, 79, O
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x50, 80, P
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x51, 81, Q
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x52, 82, R
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x53, 83, S
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x54, 84, T
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x55, 85, U
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x56, 86, V
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x57, 87, W
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x58, 88, X
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x59, 89, Y
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x5A, 90, Z
0x41, 0x7f, 0x49, 0x49, 0x36, 0x05 , // 0x42, 66, B
0x3E, 0x41, 0x41, 0x41, 0x22, 0x05 , // 0x43, 67, C
0x7F, 0x41, 0x41, 0x22, 0x1C, 0x05 , // 0x44, 68, D
0x7F, 0x49, 0x49, 0x49, 0x41, 0x05 , // 0x45, 69, E
0x7F, 0x48, 0x48, 0x48, 0x40, 0x05 , // 0x46, 70, F
0x3E, 0x41, 0x49, 0x49, 0x2F, 0x05 , // 0x47, 71, G
0x7F, 0x08, 0x08, 0x08, 0x7F, 0x05 , // 0x48, 72, H
0x41, 0x7F, 0x41, 0x00, 0x00, 0x03 , // 0x49, 73, I
0x02, 0x01, 0x41, 0x7E, 0x40, 0x05 , // 0x4A, 74, J
0x7F, 0x08, 0x14, 0x22, 0x41, 0x05 , // 0x4B, 75, K
0x7F, 0x01, 0x01, 0x01, 0x01, 0x05 , // 0x4C, 76, L
0x7F, 0x20, 0x18, 0x20, 0x7F, 0x05 , // 0x4D, 77, M
0x7F, 0x10, 0x08, 0x04, 0x7F, 0x05 , // 0x4E, 78, N
0x3E, 0x41, 0x41, 0x41, 0x3E, 0x05 , // 0x4F, 79, O
0x7F, 0x48, 0x48, 0x48, 0x30, 0x05 , // 0x50, 80, P
0x3E, 0x41, 0x45, 0x42, 0x3D, 0x05 , // 0x51, 81, Q
0x7F, 0x48, 0x4C, 0x4A, 0x31, 0x05 , // 0x52, 82, R
0x31, 0x49, 0x49, 0x49, 0x46, 0x05 , // 0x53, 83, S
0x40, 0x40, 0x7F, 0x40, 0x40, 0x05 , // 0x54, 84, T
0x7E, 0x01, 0x01, 0x01, 0x7E, 0x05 , // 0x55, 85, U
0x7C, 0x02, 0x01, 0x02, 0x7C, 0x05 , // 0x56, 86, V
0x7E, 0x01, 0x0E, 0x01, 0x7E, 0x05 , // 0x57, 87, W
0x63, 0x14, 0x08, 0x14, 0x63, 0x05 , // 0x58, 88, X
0x70, 0x08, 0x07, 0x08, 0x70, 0x05 , // 0x59, 89, Y
0x43, 0x45, 0x49, 0x51, 0x61, 0x05 , // 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, [
......
......@@ -15,7 +15,7 @@
#include <string.h>
// Change these values to adjust scroll speeds and animation iterations
#define TEXT_SCROLL_SPEED 1500 // how fast to scroll the text
#define TEXT_SCROLL_SPEED 300 // 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[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
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. ";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment