From 6411d549ab1611e3f1e5c39c9066b0a173a29636 Mon Sep 17 00:00:00 2001 From: Thorinair Date: Mon, 27 Jul 2020 16:16:38 +0200 Subject: [PATCH] Further add 4 and 8 bit descriptions. --- .../10-Inkplate_Download_And_Show.ino | 4 ++-- .../5-Inkplate_SD_BMP_pictures/5-Inkplate_SD_BMP_pictures.ino | 2 +- .../3-Inkplate_VariPass_Graphs/3-Inkplate_VariPass_Graphs.ino | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/2. Advanced Inkplate Features/10-Inkplate_Download_And_Show/10-Inkplate_Download_And_Show.ino b/examples/2. Advanced Inkplate Features/10-Inkplate_Download_And_Show/10-Inkplate_Download_And_Show.ino index 0086a16..6542999 100644 --- a/examples/2. Advanced Inkplate Features/10-Inkplate_Download_And_Show/10-Inkplate_Download_And_Show.ino +++ b/examples/2. Advanced Inkplate Features/10-Inkplate_Download_And_Show/10-Inkplate_Download_And_Show.ino @@ -51,7 +51,7 @@ void setup() { //Photo taken by: Roberto Fernandez if(!display.drawBitmapFromWeb("https://varipass.org/neowise_mono.bmp", 0, 0, true)) { //If is something failed (wrong filename or wrong bitmap format), write error message on the screen. - //REMEMBER! You can only use Windows Bitmap file with color depth of 1 or 24 bits with no compression! + //REMEMBER! You can only use Windows Bitmap file with color depth of 1, 4, 8 or 24 bits with no compression! display.println("Image open error"); display.display(); } @@ -75,7 +75,7 @@ void setup() { if (len > 0) { if(!display.drawBitmapFromWeb(http.getStreamPtr(), 0, 0, len)) { //If is something failed (wrong filename or wrong bitmap format), write error message on the screen. - //REMEMBER! You can only use Windows Bitmap file with color depth of 1 or 24 bits with no compression! + //REMEMBER! You can only use Windows Bitmap file with color depth of 1, 4, 8 or 24 bits with no compression! display.println("Image open error"); display.display(); } 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 27f63be..cd1b0b8 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 @@ -41,7 +41,7 @@ void setup() { //certain softwares. if(!display.drawBitmapFromSD("image1.bmp", 0, 0)) { //If is something failed (wrong filename or wrong bitmap format), write error message on the screen. - //REMEMBER! You can only use Windows Bitmap file with color depth of 1 or 24 bits with no compression! + //REMEMBER! You can only use Windows Bitmap file with color depth of 1, 4, 8 or 24 bits with no compression! display.println("Image open error"); display.display(); } diff --git a/examples/3. Others/3-Inkplate_VariPass_Graphs/3-Inkplate_VariPass_Graphs.ino b/examples/3. Others/3-Inkplate_VariPass_Graphs/3-Inkplate_VariPass_Graphs.ino index 31eb6b2..3dbb5f8 100644 --- a/examples/3. Others/3-Inkplate_VariPass_Graphs/3-Inkplate_VariPass_Graphs.ino +++ b/examples/3. Others/3-Inkplate_VariPass_Graphs/3-Inkplate_VariPass_Graphs.ino @@ -60,8 +60,6 @@ void setup() { // eink - Should be set to true to generate a monochrome 1 bit bitmap better suitable for Inkplate. // For more detailed explanation and more parameters, please visit the docs page: https://varipass.org/docs/ if(!display.drawBitmapFromWeb("https://api.varipass.org/?action=sgraph&id=kbg3eQfA&width=400&height=300&eink=true", 200, 150)) { - //If is something failed (wrong filename or wrong bitmap format), write error message on the screen. - //REMEMBER! You can only use Windows Bitmap file with color depth of 1 or 24 bits with no compression! display.println("Image open error"); display.partialUpdate(); }