diff --git a/examples/2. Advanced Inkplate Features/5-Inkplate_SD_BMP_pictures/5-Inkplate_SD_BMP_pictures.ino b/examples/2. Advanced Inkplate Features/5-Inkplate_SD_BMP_pictures/5-Inkplate_SD_BMP_pictures.ino index 0c039a3..542eae3 100644 --- a/examples/2. Advanced Inkplate Features/5-Inkplate_SD_BMP_pictures/5-Inkplate_SD_BMP_pictures.ino +++ b/examples/2. Advanced Inkplate Features/5-Inkplate_SD_BMP_pictures/5-Inkplate_SD_BMP_pictures.ino @@ -5,6 +5,9 @@ Select "Inkplate 6(ESP32)" from Tools -> Board menu. Don't have "Inkplate 6(ESP32)" option? Follow our tutorial and add it: https://e-radionica.com/en/blog/add-inkplate-6-to-arduino-ide/ + + 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 (monochrome bitmap) and 24 bit AND have resoluton smaller than 800x600 or otherwise it won't fit on screen. @@ -18,6 +21,7 @@ */ #include "Inkplate.h" //Include Inkplate library to the sketch +#include "SdFat.h" //Include library for SD card Inkplate display(INKPLATE_1BIT); //Create an object on Inkplate library and also set library into 1 Bit mode (Monochrome) SdFile file; //Create SdFile object used for accessing files on SD card diff --git a/examples/2. Advanced Inkplate Features/6-Inkplate_SD_TXT_file/6-Inkplate_SD_TXT_file.ino b/examples/2. Advanced Inkplate Features/6-Inkplate_SD_TXT_file/6-Inkplate_SD_TXT_file.ino index a1c76c9..4ba7fa3 100644 --- a/examples/2. Advanced Inkplate Features/6-Inkplate_SD_TXT_file/6-Inkplate_SD_TXT_file.ino +++ b/examples/2. Advanced Inkplate Features/6-Inkplate_SD_TXT_file/6-Inkplate_SD_TXT_file.ino @@ -1,10 +1,13 @@ /* - 5_Inkplate_SD_TXT example for e-radionica.com Inkplate 6 + 6_Inkplate_SD_TXT example for e-radionica.com Inkplate 6 For this example you will need only a micro USB cable, Inkplate 6 and a SD card loaded with text.txt file that can be found inside folder of this example. Select "Inkplate 6(ESP32)" from Tools -> Board menu. Don't have "Inkplate 6(ESP32)" option? Follow our tutorial and add it: https://e-radionica.com/en/blog/add-inkplate-6-to-arduino-ide/ + + 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 your own .txt file, but in order to this example works properly it should not have more than 200 chars and you should name it text.txt @@ -17,6 +20,7 @@ */ #include "Inkplate.h" //Include Inkplate library to the sketch +#include "SdFat.h" //Include library for SD card Inkplate display(INKPLATE_1BIT); //Create an object on Inkplate library and also set library into 1 Bit mode (Monochrome) SdFile file; //Create SdFile object used for accessing files on SD card