We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ec1d4f commit 8ac155aCopy full SHA for 8ac155a
ESP32_S2_WiFi_Tests/JSONdemo/JSONdemo.ino
@@ -35,10 +35,6 @@ int status = WL_IDLE_STATUS;
35
#define SERVER "cdn.syndication.twimg.com"
36
#define PATH "/widgets/followbutton/info.json?screen_names=adafruit"
37
38
-// Initialize the SSL client library
39
-// with the IP address and port of the server
40
-// that you want to connect to (port 443 is default for HTTPS):
41
-WiFiClientSecure client;
42
43
void setup() {
44
//Initialize serial and wait for port to open:
@@ -91,6 +87,8 @@ void setup() {
91
87
uint32_t bytes = 0;
92
88
93
89
void loop() {
90
+ WiFiClientSecure client;
+
94
Serial.println("\nStarting connection to server...");
95
#if defined(USE_OLED)
96
display.clearDisplay(); display.setCursor(0,0);
0 commit comments