Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yoprogramo/QRcodeOled

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRcodeOled

Subclass that you can use jointly with https://github.com/yoprogramo/QRcodeDisplay to generate QRcodes in OLED displays like SSD1306 and SSH1106

To use it:

In platform.io:

add as dependencies:

yoprogramo/QRcodeDisplay
yoprogramo/QRcodeOled
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays

In arduino ide:

open Library Manager (menu Sketch > Include Library > Manage Libraries…) then install the following libraries:

 QRcodeDisplay
 QRcodeOled
 ESP8266 and ESP32 OLED driver for SSD1306 displays

Creating a QRcode is just as simple as:

#include <qrcodeoled.h>
#include <SSD1306.h>

SSD1306  display(0x3c, 21, 22); // Only change
QRcodeOled qrcode (&display);

void setup() {

   qrcode.init();
   qrcode.create("Hello world.");

}

For other displays, please refer the main repository: https://github.com/yoprogramo/QRcodeDisplay

About

Subclasses of QRcodeDisplay to be able to use SSD1306 and SSH106 OLED displays.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.