-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hi,
I am trying to print a QR code onto an SSD1306 128x64 display but I'm having some issues, the QR code is a jobbled mess. it doesn't look like a QR code at all. I am just using the base example code:
Code:
#include <qrcode.h>
#include <SSD1306.h>
SSD1306 display(0x3c, SDA, SCL);
QRcode qrcode (&display);
void setup() {
Serial.begin(115200);
Serial.println("");
Serial.println("Starting...");
display.init();
display.clear();
display.display();
// enable debug qrcode
// qrcode.debug();
// Initialize QRcode display using library
qrcode.init();
// create qrcode
qrcode.create("Hello world.");
}
void loop() { }
Here is the QR code:
https://imgur.com/a/WMiXy87
Thanks all!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels