forked from 4dsystems/screen_4D_22_library
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial checkin * Add more fonts * Updated examples * Remove old files * Renamed example * Final changes * M0 compatibility changes * Removed unused variables
- Loading branch information
Showing
67 changed files
with
21,411 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Include application, user and local libraries | ||
#include "SPI.h" | ||
#include "TFT_22_ILI9225.h" | ||
|
||
// Include font definition files | ||
// NOTE: These files may not have all characters defined! Check the GFXfont def | ||
// params 3 + 4, e.g. 0x20 = 32 = space to 0x7E = 126 = ~ | ||
|
||
#include <../fonts/FreeSans12pt7b.h> | ||
#include <../fonts/FreeSans24pt7b.h> | ||
|
||
#define TFT_RST 8 | ||
#define TFT_RS 9 | ||
#define TFT_CS 10 // SS | ||
#define TFT_SDI 11 // MOSI | ||
#define TFT_CLK 13 // SCK | ||
#define TFT_LED 3 // 0 if wired to +5V directly | ||
|
||
#define TFT_BRIGHTNESS 200 // Initial brightness of TFT backlight (optional) | ||
|
||
// Use hardware SPI (faster - on Uno: 13-SCK, 12-MISO, 11-MOSI) | ||
TFT_22_ILI9225 tft = TFT_22_ILI9225(TFT_RST, TFT_RS, TFT_CS, TFT_LED, TFT_BRIGHTNESS); | ||
// Use software SPI (slower) | ||
//TFT_22_ILI9225 tft = TFT_22_ILI9225(TFT_RST, TFT_RS, TFT_CS, TFT_SDI, TFT_CLK, TFT_LED, TFT_BRIGHTNESS); | ||
|
||
// Variables and constants | ||
int16_t x=0, y=0, w, h; | ||
|
||
// Setup | ||
void setup() { | ||
tft.begin(); | ||
tft.clear(); | ||
|
||
// Draw first string in big font | ||
String s1 = "6789"; | ||
tft.setGFXFont(&FreeSans24pt7b); // Set current font | ||
tft.getGFXTextExtent(s1, x, y, &w, &h); // Get string extents | ||
y = h; // Set y position to string height | ||
tft.drawGFXText(x, y, s1, COLOR_RED); // Print string | ||
|
||
// Draw second string in smaller font | ||
tft.setGFXFont(&FreeSans12pt7b); // Change font | ||
String s2 = "Hello"; // Create string object | ||
tft.getGFXTextExtent(s2, x, y, &w, &h); // Get string extents | ||
y += h + 10; // Set y position to string height plus shift down 10 pixels | ||
tft.drawGFXText(x, y, s2, COLOR_BLUE); // Print string | ||
|
||
// Draw third string in same font | ||
String s3 = "World!"; // Create string object | ||
y += h + 2; // Set y position to previous string height plus shift down 2 pixels | ||
tft.drawGFXText(x, y, s3, COLOR_GREEN); // Print string | ||
} | ||
|
||
// Loop | ||
void loop() { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
const uint8_t BebasNeue_Bold10pt7bBitmaps[] PROGMEM = { | ||
0xF0, 0x07, 0x06, 0x06, 0x0C, 0x0C, 0x18, 0x18, 0x18, 0x30, 0x30, 0x60, | ||
0x60, 0x60, 0xC0, 0x7B, 0xFC, 0xF3, 0xCF, 0x3C, 0xF3, 0xCF, 0x3C, 0xF3, | ||
0xFD, 0xE0, 0x33, 0xFF, 0x33, 0x33, 0x33, 0x33, 0x33, 0x7B, 0xFC, 0xF3, | ||
0xCC, 0x31, 0xCE, 0x71, 0x8C, 0x30, 0xFF, 0xF0, 0x7B, 0xFC, 0xF3, 0x0C, | ||
0x33, 0x8F, 0x0C, 0x3C, 0xF3, 0xFD, 0xE0, 0x0E, 0x0E, 0x1E, 0x1E, 0x36, | ||
0x36, 0x66, 0x66, 0x66, 0xFF, 0xFF, 0x06, 0x06, 0x06, 0xFF, 0xFC, 0x30, | ||
0xFB, 0xFC, 0xF3, 0x0F, 0x3C, 0xF3, 0xFD, 0xE0, 0x7B, 0xFC, 0xF3, 0xC3, | ||
0xEF, 0xF3, 0xCF, 0x3C, 0xF3, 0xFD, 0xE0, 0xFF, 0xF0, 0xC3, 0x1C, 0x61, | ||
0x86, 0x30, 0xC3, 0x1C, 0x61, 0x80, 0x7B, 0xFC, 0xF3, 0xCF, 0x3F, 0xFF, | ||
0xCF, 0x3C, 0xF3, 0xFD, 0xE0, 0x7B, 0xFC, 0xF3, 0xCF, 0x3C, 0xFF, 0xFC, | ||
0x3C, 0xF3, 0xFD, 0xE0 }; | ||
|
||
const GFXglyph BebasNeue_Bold10pt7bGlyphs[] PROGMEM = { | ||
{ 0, 2, 2, 4, 1, -1 }, // 0x2E '.' | ||
{ 1, 8, 14, 8, 0, -13 }, // 0x2F '/' | ||
{ 15, 6, 14, 8, 1, -13 }, // 0x30 '0' | ||
{ 26, 4, 14, 8, 2, -13 }, // 0x31 '1' | ||
{ 33, 6, 14, 8, 1, -13 }, // 0x32 '2' | ||
{ 44, 6, 14, 8, 1, -13 }, // 0x33 '3' | ||
{ 55, 8, 14, 8, 0, -13 }, // 0x34 '4' | ||
{ 69, 6, 14, 8, 1, -13 }, // 0x35 '5' | ||
{ 80, 6, 14, 8, 1, -13 }, // 0x36 '6' | ||
{ 91, 6, 14, 8, 1, -13 }, // 0x37 '7' | ||
{ 102, 6, 14, 8, 1, -13 }, // 0x38 '8' | ||
{ 113, 6, 14, 8, 1, -13 } }; // 0x39 '9' | ||
|
||
const GFXfont BebasNeue_Bold10pt7b PROGMEM = { | ||
(uint8_t *)BebasNeue_Bold10pt7bBitmaps, | ||
(GFXglyph *)BebasNeue_Bold10pt7bGlyphs, | ||
0x2E, 0x39, 20 }; | ||
|
||
// Approx. 215 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
const uint8_t BebasNeue_Bold16pt7bBitmaps[] PROGMEM = { | ||
0x07, 0x00, 0x60, 0x06, 0x04, 0x63, 0xF6, 0xF7, 0xFF, 0x06, 0x00, 0xF0, | ||
0x19, 0x83, 0x9E, 0x30, 0xC1, 0x08, 0x0C, 0x01, 0x80, 0x30, 0x06, 0x0F, | ||
0xFF, 0xFF, 0xFF, 0xF8, 0x60, 0x0C, 0x01, 0x80, 0x30, 0x00, 0xFF, 0xF6, | ||
0x64, 0xFF, 0xFF, 0xC0, 0xFF, 0xF0, 0x00, 0x70, 0x0E, 0x00, 0xE0, 0x1C, | ||
0x01, 0xC0, 0x1C, 0x03, 0x80, 0x38, 0x07, 0x00, 0x70, 0x07, 0x00, 0xE0, | ||
0x0E, 0x01, 0xC0, 0x1C, 0x01, 0xC0, 0x38, 0x03, 0x80, 0x70, 0x07, 0x00, | ||
0x70, 0x0E, 0x00, 0x1F, 0x1F, 0xE7, 0xFF, 0xCF, 0xE1, 0xF8, 0x7E, 0x1F, | ||
0x87, 0xE1, 0xF8, 0x7E, 0x1F, 0x87, 0xE1, 0xF8, 0x7E, 0x1F, 0x87, 0xE1, | ||
0xF8, 0x7F, 0x3D, 0xFF, 0x7F, 0x87, 0xC0, 0x0C, 0x73, 0xFF, 0xFF, 0xF1, | ||
0xC7, 0x1C, 0x71, 0xC7, 0x1C, 0x71, 0xC7, 0x1C, 0x71, 0xC7, 0x1C, 0x70, | ||
0x1F, 0x1F, 0xE7, 0xFF, 0xCF, 0xF1, 0xF8, 0x7E, 0x1F, 0x87, 0x03, 0xC0, | ||
0xF0, 0x78, 0x3C, 0x1F, 0x07, 0x83, 0xC1, 0xE0, 0x70, 0x3C, 0x0F, 0x03, | ||
0xFF, 0xFF, 0xFF, 0xF0, 0x1F, 0x1F, 0xE7, 0xFF, 0xCF, 0xE1, 0xF8, 0x7E, | ||
0x1C, 0x07, 0x03, 0xC7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1F, 0x87, 0xE1, 0xF8, 0x7F, 0x3F, 0xFF, | ||
0x7F, 0xCF, 0x70, 0x1C, 0x07, 0xE1, 0xF8, 0x7F, 0x3D, 0xFF, 0x7F, 0x87, | ||
0xC0 }; | ||
|
||
const GFXglyph BebasNeue_Bold16pt7bGlyphs[] PROGMEM = { | ||
{ 0, 12, 12, 12, 0, -21 }, // 0x2A '*' | ||
{ 18, 11, 11, 12, 1, -15 }, // 0x2B '+' | ||
{ 34, 4, 6, 6, 1, -2 }, // 0x2C ',' | ||
{ 37, 6, 3, 8, 1, -11 }, // 0x2D '-' | ||
{ 40, 4, 3, 6, 1, -2 }, // 0x2E '.' | ||
{ 42, 12, 22, 12, 0, -21 }, // 0x2F '/' | ||
{ 75, 10, 22, 12, 1, -21 }, // 0x30 '0' | ||
{ 103, 6, 22, 12, 3, -21 }, // 0x31 '1' | ||
{ 120, 10, 22, 12, 1, -21 }, // 0x32 '2' | ||
{ 148, 10, 22, 12, 1, -21 }, // 0x33 '3' | ||
{ 176, 12, 22, 12, 0, -21 }, // 0x34 '4' | ||
{ 209, 10, 22, 12, 1, -21 }, // 0x35 '5' | ||
{ 237, 10, 22, 12, 1, -21 }, // 0x36 '6' | ||
{ 265, 10, 22, 12, 1, -21 }, // 0x37 '7' | ||
{ 293, 10, 22, 12, 1, -21 }, // 0x38 '8' | ||
{ 321, 10, 22, 12, 1, -21 } }; // 0x39 '9' | ||
|
||
const GFXfont BebasNeue_Bold16pt7b PROGMEM = { | ||
(uint8_t *)BebasNeue_Bold16pt7bBitmaps, | ||
(GFXglyph *)BebasNeue_Bold16pt7bGlyphs, | ||
0x2A, 0x39, 31 }; | ||
|
||
// Approx. 468 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
const uint8_t BebasNeue_Bold18pt7bBitmaps[] PROGM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xF7, 0xFE, 0x7F, 0xE3, 0xFC, 0x1F, 0x80, | ||
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xF0, 0x1E, 0x01, 0xE0, 0x1E, | ||
0x01, 0xC0, 0x3C, 0x03, 0xC0, 0x3C, 0x03, 0x80, 0x78, 0x07, 0x80, 0x78, | ||
0x0F, 0x00, 0xF0, 0x0F, 0x00, 0xF0, 0x1E, 0x01, 0xE0, 0x1E, 0x01, 0xC0, | ||
0x3C, 0x00, 0x1F, 0x83, 0xFC, 0x7F, 0xEF, 0xFF, 0xF1, 0xFF, 0x0F, 0xF0, | ||
0xFF, 0x0F, 0xF0, 0xFF, 0x1F, 0x7F, 0xE3, 0xFC, 0x7F, 0xC7, 0xFE, 0xF1, | ||
0xFF, 0x0F, 0xF0, 0xFF, 0x0F, 0xF0, 0xFF, 0x0F, 0xF1, 0xFF, 0xFF, 0x7F, | ||
0xE3, 0xFC, 0x1F, 0x80, 0x1F, 0x83, 0xFC, 0x7F, 0xEF, 0xFE, 0xF1, 0xFF, | ||
0x0F, 0xF0, 0xFF, 0x0F, 0xF0, 0xFF, 0x0F, 0xF0, 0xFF, 0x1F, 0xFF, 0xFF, | ||
0xFF, 0x7E, 0xF3, 0xCF, 0x00, 0xF0, 0x0F, 0xF0, 0xFF, 0x0F, 0xF1, 0xFF, | ||
0xFE, 0x7F, 0xE3, 0xFC, 0x1F, 0x80 }; | ||
|
||
const GFXglyph BebasNeue_Bold18pt7bGlyphs[] PROGMEM = { | ||
{ 0, 14, 13, 14, 0, -24 }, // 0x2A '*' | ||
{ 23, 12, 12, 14, 1, -17 }, // 0x2B '+' | ||
{ 41, 4, 7, 7, 1, -3 }, // 0x2C ',' | ||
{ 45, 7, 4, 9, 1, -14 }, // 0x2D '-' | ||
{ 49, 4, 4, 7, 1, -3 }, // 0x2E '.' | ||
{ 51, 13, 25, 13, 0, -24 }, // 0x2F '/' | ||
{ 92, 12, 25, 14, 1, -24 }, // 0x30 '0' | ||
{ 130, 7, 25, 14, 4, -24 }, // 0x31 '1' | ||
{ 152, 12, 25, 14, 1, -24 }, // 0x32 '2' | ||
{ 190, 12, 25, 14, 1, -24 }, // 0x33 '3' | ||
{ 228, 14, 25, 14, 0, -24 }, // 0x34 '4' | ||
{ 272, 12, 25, 14, 1, -24 }, // 0x35 '5' | ||
{ 310, 12, 25, 14, 1, -24 }, // 0x36 '6' | ||
{ 348, 12, 25, 14, 1, -24 }, // 0x37 '7' | ||
{ 386, 12, 25, 14, 1, -24 }, // 0x38 '8' | ||
{ 424, 12, 25, 14, 1, -24 } }; // 0x39 '9' | ||
|
||
const GFXfont BebasNeue_Bold18pt7b PROGMEM = { | ||
(uint8_t *)BebasNeue_Bold18pt7bBitmaps, | ||
(GFXglyph *)BebasNeue_Bold18pt7bGlyphs, | ||
0x2A, 0x39, 35 }; | ||
|
||
// Approx. 581 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
const uint8_t BebasNeue_Bold23pt7bBitmaps[] PROGMEM = { | ||
0x07, 0xE0, 0x3F, 0xF0, 0xFF, 0xF3, 0xFF, 0xE7, 0xFF, 0xEF, 0x87, 0xFF, | ||
0x0F, 0xFC, 0x1F, 0xF8, 0x3F, 0xF0, 0x7F, 0xE0, 0xFF, 0xC1, 0xFF, 0x83, | ||
0xFF, 0x07, 0xFE, 0x0F, 0xFC, 0x1F, 0xF8, 0x3F, 0xF0, 0x7F, 0xE0, 0xFF, | ||
0xC1, 0xFF, 0x83, 0xFF, 0x07, 0xFE, 0x0F, 0xFC, 0x1F, 0xF8, 0x3F, 0xF8, | ||
0x7D, 0xF0, 0xFB, 0xFF, 0xF7, 0xFF, 0xE7, 0xFF, 0x87, 0xFE, 0x03, 0xF0, | ||
0x07, 0x83, 0xC3, 0xE3, 0xFF, 0xFF, 0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 0xFF, 0xF7, 0xFF, 0xC7, 0xFF, | ||
0x87, 0xFE, 0x03, 0xF0 }; | ||
|
||
const GFXglyph BebasNeue_Bold23pt7bGlyphs[] PROGMEM = { | ||
{ 0, 15, 32, 18, 1, -31 }, // 0x30 '0' | ||
{ 60, 9, 32, 18, 5, -31 }, // 0x31 '1' | ||
{ 96, 15, 32, 18, 2, -31 }, // 0x32 '2' | ||
{ 156, 14, 32, 18, 2, -31 }, // 0x33 '3' | ||
{ 212, 16, 32, 18, 1, -31 }, // 0x34 '4' | ||
{ 276, 14, 32, 18, 2, -31 }, // 0x35 '5' | ||
{ 332, 16, 32, 18, 1, -31 }, // 0x36 '6' | ||
{ 396, 15, 32, 18, 1, -31 }, // 0x37 '7' | ||
{ 456, 16, 32, 18, 1, -31 }, // 0x38 '8' | ||
{ 520, 15, 32, 18, 1, -31 } }; // 0x39 '9' | ||
|
||
const GFXfont BebasNeue_Bold23pt7b PROGMEM = { | ||
(uint8_t *)BebasNeue_Bold23pt7bBitmaps, | ||
(GFXglyph *)BebasNeue_Bold23pt7bGlyphs, | ||
0x30, 0x39, 45 }; | ||
|
||
// Approx. 657 bytes |
Oops, something went wrong.