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

added more characters to font

parent 98a162ad
......@@ -38,7 +38,7 @@ void Dotmatrix::init() {
// turning all leds off
clearScreen();
Time::attachRepeatingTask(Dotmatrix::displayActiveColumn, 3000);
Time::attachRepeatingTask(Dotmatrix::displayActiveColumn, 1500);
}
void Dotmatrix::displayActiveColumn() {
......
......@@ -18,20 +18,20 @@
const uint8_t font[] PROGMEM = {
// 3 chars bitmap, 1 char length
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x20, 32, ' '
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x21, 33, !
0x7D, 0x00, 0x00, 0x00, 0x00, 0x01 , // 0x21, 33, !
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x22, 34, "
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x23, 35, #
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x24, 36, $
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x25, 37, %
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x26, 38, &
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x27, 39, '
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x28, 40, (
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x29, 41, )
0x1C, 0x22, 0x41, 0x00, 0x00, 0x03 , // 0x28, 40, (
0x41, 0x22, 0x1C, 0x00, 0x00, 0x03 , // 0x29, 41, )
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x2A, 42, *
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x2B, 43, +
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x2C, 44, ,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x2D, 45, -
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x2E, 46, .
0x08, 0x1C, 0x08, 0x00, 0x00, 0x03 , // 0x2B, 43, +
0x05, 0x06, 0x00, 0x00, 0x00, 0x02 , // 0x2C, 44, ,
0x08, 0x08, 0x08, 0x08, 0x00, 0x04 , // 0x2D, 45, -
0x03, 0x03, 0x00, 0x00, 0x00, 0x02 , // 0x2E, 46, .
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x2F, 47, /
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x30, 48, 0
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x31, 49, 1
......@@ -43,14 +43,14 @@ const uint8_t font[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x37, 55, 7
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x38, 56, 8
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x39, 57, 9
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x3A, 58, :
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x3B, 59, ;
0x36, 0x36, 0x00, 0x00, 0x00, 0x02 , // 0x3A, 58, :
0x35, 0x36, 0x00, 0x00, 0x00, 0x02 , // 0x3B, 59, ;
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x3C, 60, <
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x3D, 61, =
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x3E, 62, >
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x3F, 63, ?
0x20, 0x40, 0x45, 0x48, 0x30, 0x05 , // 0x3F, 63, ?
0x00, 0x00, 0x00, 0x00, 0x00, 0x00 , // 0x40, 64, @
0x7e, 0x09, 0x09, 0x09, 0x7e, 0x05 , // 0x41, 65, A
0x1F, 0x24, 0x44, 0x24, 0x1F, 0x05 , // 0x41, 65, A
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
......
......@@ -15,7 +15,7 @@
#include <string.h>
// Change these values to adjust scroll speeds and animation iterations
#define TEXT_SCROLL_SPEED 300 // how fast to scroll the text
#define TEXT_SCROLL_SPEED 100 // 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[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
const char PROGMEM message_00[] = " ALLES GUTE ZUM GEBURTSTAG!";
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