Skip to content

3.0.0

Choose a tag to compare

@paulw11 paulw11 released this 15 Apr 23:10
· 5 commits to master since this release

QRcode_eSPI_extended

Subclass that you can use jointly with https://github.com/yoprogramo/QRcodeDisplay to generate QRcodes in TFT displays like ST7735 and any other supported by TFT_eSPI

forked from yoprogramo/QRcode_eSPI

Changes

This fork allows control over the colour, size and placement of the QR code.

The init method accepts six parameters -

  • drawColour - The color used to draw the QR code
  • backgroundColor - The color set as the background for the display before drawing the QR code
  • top - The top edge co-ordinate of the QR code
  • left - The left edge co-ordinate of the QR code
  • bottom - The bottom edge co-ordinate of the QR code
  • right - The right edge co-ordinate of the QR code

Calling init with no arguments will default to a black QR code on a white background that uses the entire screen - ie. No change from the standard result of calling init()