Commit d3a1eced authored by Bodmer's avatar Bodmer

Incorporate #453 with option

parent 5d280f99
// Font 2 // Font 2
// Comment out for £ sign for character 24
#define TFT_ESPI_FONT2_DOLLAR
#include <pgmspace.h> #include <pgmspace.h>
// Width has been increased by 1 pixel so pixel lengths are calculated correctly // Width has been increased by 1 pixel so pixel lengths are calculated correctly
...@@ -50,8 +53,13 @@ PROGMEM const unsigned char chr_f16_23[16] = // 1 unsigned char per row ...@@ -50,8 +53,13 @@ PROGMEM const unsigned char chr_f16_23[16] = // 1 unsigned char per row
PROGMEM const unsigned char chr_f16_24[16] = // 1 unsigned char per row PROGMEM const unsigned char chr_f16_24[16] = // 1 unsigned char per row
{ {
#ifdef TFT_ESPI_FONT2_DOLLAR
0x00, 0x00, 0x28, 0x38, 0x6C, 0xAA, 0xA8, 0x68, 0x3C, 0x2A, 0xAA, // row 1 - 11
0x6C, 0x38, 0x28, 0x00, 0x00 // row 12 - 16
#else // GBP sign
0x00, 0x00, 0x00, 0x3C, 0x42, 0x40, 0x40, 0x70, 0x40, 0x70, 0x40, // row 1 - 11 0x00, 0x00, 0x00, 0x3C, 0x42, 0x40, 0x40, 0x70, 0x40, 0x70, 0x40, // row 1 - 11
0x40, 0xFE, 0x00, 0x00, 0x00 // row 12 - 16 0x40, 0xFE, 0x00, 0x00, 0x00 // row 12 - 16
#endif
}; };
PROGMEM const unsigned char chr_f16_25[16] = // 1 unsigned char per row PROGMEM const unsigned char chr_f16_25[16] = // 1 unsigned char per row
......
Markdown is supported
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