From 097db5fa9f57a77866be60ef8d8d39beef882639 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Fri, 17 Jul 2020 17:09:30 +0200 Subject: draw qrcode for wlan connection --- include/draw_qrcode.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/draw_qrcode.h (limited to 'include') diff --git a/include/draw_qrcode.h b/include/draw_qrcode.h new file mode 100644 index 0000000..d200835 --- /dev/null +++ b/include/draw_qrcode.h @@ -0,0 +1,9 @@ +#ifndef DRAW_QRCODE_H +#define DRAW_QRCODE_H + +class GxEPD2_GFX_BASE_CLASS; + +int draw_qrcode(GxEPD2_GFX_BASE_CLASS &display, int16_t x, int16_t y, String &text); +void draw_qrcode_wlan(GxEPD2_GFX_BASE_CLASS &display, int16_t x, int16_t y, const char *ssid, const char *psk); + +#endif -- cgit v1.2.3