Skip to content

Commit 27f4701

Browse files
committed
json update on youtube sub project
1 parent 5dbdfd3 commit 27f4701

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/Inkplate5V2/Projects/Inkplate5V2_OpenMeteo_Weather_Station/src/Network.cpp

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

66
#include <ArduinoJson.h>
77

8-
#include <Inkplate.H>
8+
#include <Inkplate.h>
99

1010

1111
// Function to get weather description based on the weather code

examples/Inkplate5V2/Projects/Inkplate5V2_Youtube_Subscriber_Counter/Inkplate5V2_Youtube_Subscriber_Counter.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct textElement
7777
int x;
7878
int y;
7979
const GFXfont *font;
80-
char *text;
80+
const char *text;
8181
char align;
8282
uint8_t text_color;
8383
};

examples/Inkplate5V2/Projects/Inkplate5V2_Youtube_Subscriber_Counter/Network.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void Network::begin(char *ssid, char *pass)
4141
Serial.println(F(" connected"));
4242

4343
// Create JSON document
44-
doc = new DynamicJsonDocument(20000);
44+
doc = new JsonDocument(20000);
4545
}
4646

4747
bool Network::getData(channelInfo *channel, char *channel_id, char *api_key, Inkplate *display)

0 commit comments

Comments
 (0)