summaryrefslogtreecommitdiff
path: root/include/draw_qrcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/draw_qrcode.h')
-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