Skip to content

Commit 758d593

Browse files
committed
Corrected links in the Pictures from web example
1 parent 5b01571 commit 758d593

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

examples/Inkplate2/Advanced/WEB_WiFi/Inkplate2_Show_Pictures_From_Web/Inkplate2_Show_Pictures_From_Web.ino

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
#error "Wrong board selection for this example, please select Soldered Inkplate2 in the boards menu."
2828
#endif
2929

30-
#include "HTTPClient.h" //Include library for HTTPClient
31-
#include "Inkplate.h" //Include Inkplate library to the sketch
32-
#include "WiFi.h" //Include library for WiFi
30+
#include "HTTPClient.h" // Include library for HTTPClient
31+
#include "Inkplate.h" // Include Inkplate library to the sketch
32+
#include "WiFi.h" // Include library for WiFi
3333
Inkplate display; // Create an object on Inkplate library and also set library into 1 Bit mode (BW)
3434

3535
const char ssid[] = ""; // Your WiFi SSID
@@ -68,8 +68,8 @@ void setup()
6868
display.clearDisplay();
6969

7070
if (!display.drawImage("https://raw.githubusercontent.com/SolderedElectronics/Inkplate-Arduino-library/"
71-
"Inkplate2-DrawImage3Color-And-Examples/examples/Inkplate2/Advanced_Inkplate_Features/"
72-
"Inkplate_Web_Pictures/cat_dithered.jpg",
71+
"Inkplate2-DrawImage3Color-And-Examples/examples/Inkplate2/Advanced/WEB_WiFi/"
72+
"Inkplate2_Show_Pictures_From_Web/cat_dithered.jpg",
7373
0, 0, false, false))
7474
{
7575
// If is something failed (wrong url or unsupported format), write error message on the screen.
@@ -87,8 +87,8 @@ void setup()
8787
http.getStream().setTimeout(1);
8888

8989
http.begin("https://raw.githubusercontent.com/SolderedElectronics/Inkplate-Arduino-library/"
90-
"Inkplate2-DrawImage3Color-And-Examples/examples/Inkplate2/Advanced_Inkplate_Features/"
91-
"Inkplate_Web_Pictures/car.bmp");
90+
"Inkplate2-DrawImage3Color-And-Examples/examples/Inkplate2/Advanced/WEB_WiFi/"
91+
"Inkplate2_Show_Pictures_From_Web/car.bmp");
9292

9393
// Check response code.
9494
int httpCode = http.GET();
@@ -129,8 +129,8 @@ void setup()
129129
// true will flip all colors on the image, making black white and white black. fourth parameter will dither the
130130
// image.
131131
if (!display.drawImage("https://raw.githubusercontent.com/SolderedElectronics/Inkplate-Arduino-library/"
132-
"Inkplate2-DrawImage3Color-And-Examples/examples/Inkplate2/Advanced_Inkplate_Features/"
133-
"Inkplate_Web_Pictures/mountain.png",
132+
"Inkplate2-DrawImage3Color-And-Examples/examples/Inkplate2/Advanced/WEB_WiFi/"
133+
"Inkplate2_Show_Pictures_From_Web/mountain.png",
134134
0, 0, true, false))
135135
{
136136
// If is something failed (wrong filename or format), write error message on the screen.

0 commit comments

Comments
 (0)