Skip to content

Commit b2dc28a

Browse files
committed
Replaced JoinAP function with connectWiFi
1 parent 11617ba commit b2dc28a

File tree

18 files changed

+293
-38
lines changed

18 files changed

+293
-38
lines changed

examples/Inkplate10/Projects/Inkplate10_Crowdsupply_Campaing_Tracker/Inkplate10_Crowdsupply_Campaing_Tracker.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void setup()
4444
display.begin(); // Init Inkplate library (you should call this function ONLY ONCE)
4545

4646
// Connect to WiFi
47-
while (!display.joinAP(ssid, password))
47+
while (!display.connectWiFi(ssid, password))
4848
{
4949
Serial.print('.');
5050
delay(1000);

examples/Inkplate10/Projects/Inkplate10_Image_Frame_From_Web/Inkplate10_Image_Frame_From_Web.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void setup()
2828
display.begin();
2929

3030
// Join wifi
31-
display.joinAP(ssid, password);
31+
display.connectWiFi(ssid, password);
3232

3333
char url[256];
3434
imageUrl(url);

examples/Inkplate2/Advanced/DeepSleep/Inkplate2_Simple_Deep_Sleep/Inkplate2_Simple_Deep_Sleep.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include "Inkplate.h" //Include Inkplate library to the sketch
2525
#include "driver/rtc_io.h" //ESP32 library used for deep sleep and RTC wake up pins
26-
#include "picture1.h" //Include .h files of 3 pictures. All three pictures were converted using Inkplate Image Converter (https://inkplate.io/home/image-converter/)
26+
#include "picture1.h" //Include .h files of 3 pictures. All three pictures were converted using Inkplate Image Converter (https://solderedelectronics.github.io/Inkplate-image-converter/)
2727
#include "picture2.h"
2828
#include "picture3.h"
2929

examples/Inkplate2/Advanced/Other/Inkplate2_Picture_From_RAM/Inkplate2_Picture_From_RAM.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "picture2.h"
2626
#include "picture3.h" // This are headers in which are saved pictures that needs to be stored in RAM for showing.
2727
// Any picture (in any format) can be converted in this type of header on this link:
28-
// https://inkplate.io/home/image-converter/ just choose settings for your Inkplate
28+
// https://solderedelectronics.github.io/Inkplate-image-converter/ just choose settings for your Inkplate
2929
// and additional settings like dither and bit mode.
3030

3131

examples/Inkplate4/Projects/Inkplate4_Image_Frame_From_Web/Inkplate4_Image_Frame_From_Web.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void setup()
4646
display.begin();
4747

4848
// Join wifi
49-
display.joinAP(ssid, pass);
49+
display.connectWiFi(ssid, pass);
5050
Serial.println("Connected");
5151
char url[256];
5252
imageUrl(url);

examples/Inkplate5/Projects/Inkplate5_Image_Frame_From_Web/Inkplate5_Image_Frame_From_Web.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void setup()
5050
display.begin();
5151

5252
// Join wifi
53-
display.joinAP(ssid, pass);
53+
display.connectWiFi(ssid, pass);
5454
Serial.println("Connected");
5555
char url[256];
5656
imageUrl(url);

examples/Inkplate6/Projects/Inkplate6_Crowdsupply_Campaing_Tracker/Inkplate6_Crowdsupply_Campaing_Tracker.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void setup()
4444
display.begin(); // Init Inkplate library (you should call this function ONLY ONCE)
4545

4646
// Connect to WiFi
47-
while (!display.joinAP(ssid, pass))
47+
while (!display.connectWiFi(ssid, pass))
4848
{
4949
Serial.print('.');
5050
delay(1000);

examples/Inkplate6/Projects/Inkplate6_Image_Frame_From_Web/Inkplate6_Image_Frame_From_Web.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void setup()
3030
display.begin();
3131

3232
// Join wifi
33-
display.joinAP(ssid, password);
33+
display.connectWiFi(ssid, password);
3434
Serial.println("joined wifi");
3535
char url[256];
3636
imageUrl(url);

examples/Inkplate6COLOR/Diagnostics/Inkplate6COLOR_Mapbox_API/Inkplate6COLOR_Mapbox_API.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void setup()
4242
display.begin(); // Initialize display
4343

4444
// Connect to WiFi
45-
while (!display.joinAP(ssid, pass))
45+
while (!display.connectWiFi(ssid, pass))
4646
{
4747
Serial.println("Connecting to wifi");
4848
}

examples/Inkplate6COLOR/Projects/Inkplate6COLOR_Crowdsupply_Campaing_Tracker/Inkplate6COLOR_Crowdsupply_Campaing_Tracker.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void setup()
4343
display.begin(); // Init Inkplate library (you should call this function ONLY ONCE)
4444

4545
// Connect to WiFi
46-
while (!display.joinAP(ssid, pass))
46+
while (!display.connectWiFi(ssid, pass))
4747
{
4848
Serial.print('.');
4949
delay(1000);

0 commit comments

Comments
 (0)