Permalink
Browse files

Improve font

  • Loading branch information...
1 parent cbdc309 commit f352f47dfeff1662e18c88e19011f892a440e7f1 @solexious solexious committed Jun 6, 2010
Showing with 9 additions and 5 deletions.
  1. +9 −5 font.h
View
@@ -1,6 +1,6 @@
#include <avr/pgmspace.h>
-const int font_count = 123;
-unsigned char PROGMEM myfont[123][5] = {
+const int font_count = 127;
+unsigned char PROGMEM myfont[127][5] = {
{0x00, 0x00, 0x00, 0x00, 0x00}, // blank
{0x00, 0x00, 0x00, 0x00, 0x00}, // blank
{0x00, 0x00, 0x00, 0x00, 0x00}, // blank
@@ -36,7 +36,7 @@ unsigned char PROGMEM myfont[123][5] = {
{0x00, 0x00, 0x00, 0x00, 0x00}, // Space
{0x00, 0x00, 0xFA, 0x00, 0x00}, // !
{0x00, 0xF0, 0x00, 0xF0, 0x00}, // "
- {0x00, 0x00, 0x00, 0x00, 0x00}, // #---
+ {0x27, 0x3C, 0xE7, 0x3C, 0xE4}, // #
{0x12, 0x2A, 0x7F, 0x2A, 0x4}, // $
{0x32, 0x34, 0x8, 0x16, 0x26}, // %
{0x00, 0x00, 0x00, 0x00, 0x00}, // &---
@@ -64,7 +64,7 @@ unsigned char PROGMEM myfont[123][5] = {
{0x10, 0x28, 0x44, 0x82, 0x00}, // <
{0x24, 0x24, 0x24, 0x24, 0x24}, // =
{0x00, 0x82, 0x44, 0x28, 0x10}, // >
- {0x20, 0x40, 0x8d, 0x48, 0x30}, // ?
+ {0x20, 0x40, 0x9A, 0x50, 0x20}, // ?
{0x7C, 0x82, 0xBA, 0xAA, 0x7A}, // @
{0x7e, 0x90, 0x90, 0x90, 0x7e}, // A
{0xfe, 0x92, 0x92, 0x92, 0x6c}, // B
@@ -123,4 +123,8 @@ unsigned char PROGMEM myfont[123][5] = {
{0x3C, 0x2, 0x1E, 0x2, 0x3C}, // w
{0x22, 0x14, 0x8, 0x14, 0x22}, // x
{0x31, 0xD, 0x2, 0xC, 0x30}, // y
- {0x22, 0x26, 0x2A, 0x32, 0x22}};// z
+ {0x22, 0x26, 0x2A, 0x32, 0x22}, // z
+ {0x18, 0x18, 0x66, 0x81, 0x00}, // {
+ {0x00, 0x00, 0xFF, 0x00, 0x00}, // |
+ {0x00, 0x81, 0x66, 0x18, 0x18}, // }
+ {0x4, 0x8, 0xC, 0x4, 0x8}}; // ~

0 comments on commit f352f47

Please sign in to comment.