Skip to content

Commit 11352e9

Browse files
committed
graphics.h issue resolved
1 parent 19fe342 commit 11352e9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/Inkplate2/Advanced/WEB_WiFi/Inkplate2_HTTPS_With_Certificate/Inkplate2_HTTPS_With_Certificate.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#endif
2222

2323
#include "Inkplate.h" //Include Inkplate library to the sketch
24-
Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and also set library into 1 Bit mode (BW)
24+
Inkplate display; // Create an object on Inkplate library and also set library into 1 Bit mode (BW)
2525

2626
const char ssid[] = ""; // Your WiFi SSID
2727
const char *password = ""; // Your WiFi password

examples/Inkplate2/Projects/Inkplate2_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

src/include/Graphics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Graphics : public Shapes, public Image
5656

5757
void drawPixel(int16_t x, int16_t y, uint16_t color) override;
5858
void drawTextBox(int16_t x0, int16_t y0, int16_t x1, int16_t x2, const char *text, uint16_t textSize = 1,
59-
const GFXfont *font = NULL, uint16_t vericalSpacing = NULL, bool showBorder = false,
59+
const GFXfont *font = NULL, uint16_t vericalSpacing = 0, bool showBorder = false,
6060
uint16_t fontSize = 8);
6161

6262
#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2) && !defined(ARDUINO_INKPLATE4) && \

0 commit comments

Comments
 (0)