Fix font not loading.
This commit is contained in:
parent
cb57141976
commit
3c9398ca33
|
@ -9,11 +9,11 @@
|
|||
To work with SD card on Inkplate, you will need to add one extra library.
|
||||
Download and install it from here: https://github.com/e-radionicacom/Inkplate-6-SDFat-Arduino-Library
|
||||
|
||||
You can open .bmp files that have color depth of 1 bit (BW bitmap), 4 bit, 8 bit and
|
||||
You can open .bmp, .jpeg or .png files that have color depth of 1 bit (BW bitmap), 4 bit, 8 bit and
|
||||
24 bit AND have resoluton smaller than 800x600 or otherwise it won't fit on screen.
|
||||
Format your SD card in standard FAT fileformat.
|
||||
|
||||
This example will show you how you can read .bmp files (pictures) from SD card and
|
||||
This example will show you how you can read .bmp and .jpeg files (pictures) from SD card and
|
||||
display that image on e-paper display.
|
||||
|
||||
Want to learn more about Inkplate? Visit www.inkplate.io
|
||||
|
|
|
@ -19,9 +19,11 @@
|
|||
15 July 2020 by e-radionica.com
|
||||
*/
|
||||
|
||||
#include "Inkplate.h" //Include Inkplate library to the sketch
|
||||
|
||||
#include "DSEG14Classic_Regular20pt7b.h" //Include second font
|
||||
#include "Inkplate.h" //Include Inkplate library to the sketch
|
||||
#include "Not_Just_Groovy20pt7b.h" //Include first .h font file to the sketch
|
||||
|
||||
Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and also set library into 1-bit mode (BW)
|
||||
|
||||
void setup()
|
||||
|
@ -53,4 +55,4 @@ void setup()
|
|||
void loop()
|
||||
{
|
||||
// Nothing...
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue