Skip to content

Commit 3856249

Browse files
committed
Transaction support
1 parent 422b544 commit 3856249

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "QRcode_eSPI",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"keywords": "qr code, ESP32, ESP8266, TFT, TFT eSPI",
55
"description": "QR code generation for TFT displays",
66
"repository":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=QRcode_eSPI
2-
version=1.0.0
2+
version=1.0.1
33
author=Ruslan Baybekov (oxyii) and Jose Antonio Espinosa <[email protected]>
44
maintainer=Jose Antonio Espinosa <[email protected]>
55
sentence=QR code generation for TFT displays

src/qrcode_espi.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ void QRcode_eSPI::init() {
2121
offsetsY = (screenheight-(WD*multiply))/2;
2222
}
2323

24+
void QRcode_eSPI::create(String message) {
25+
display->startWrite();
26+
QRcodeDisplay::create(message);
27+
display->endWrite();
28+
}
29+
2430
void QRcode_eSPI::screenwhite() {
2531
display->fillScreen(TFT_WHITE);
2632
}

src/qrcode_espi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class QRcode_eSPI : public QRcodeDisplay
1818
public:
1919

2020
QRcode_eSPI(TFT_eSPI *display);
21-
21+
void create(String message);
2222
void init();
2323
void screenwhite();
2424
void screenupdate();

0 commit comments

Comments
 (0)