summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2020-07-17 17:09:30 +0200
committerReiner Herrmann <reiner@reiner-h.de>2020-07-17 17:09:30 +0200
commit097db5fa9f57a77866be60ef8d8d39beef882639 (patch)
treee70e1b5a49c948526784e0a6f6a428e1df8c797a /include
parent2b73d32e1e32fa803a7a76bca7fc22dcf9e4c656 (diff)
draw qrcode for wlan connection
Diffstat (limited to 'include')
-rw-r--r--include/draw_qrcode.h9
1 files changed, 9 insertions, 0 deletions
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