module documentation

QR Code display helper for Stick firmware

Function make_qr Make and display QR code from provided data
Function render_qr Render QR code on screen
def make_qr(tft: any, data: str, xd: int, yd: int, size: int = 1, black_only: bool = False):

Make and display QR code from provided data Args: tft (any): TFT Display object data (str): QR Code data xd (int): X position on screen yd (int): Y position on screen size (int, optional): QR code size, default 1 black_only (bool, optional): Render only black parts of QR, default is False (White and Black render)

def render_qr(tft: any, qr: any, xd: int, yd: int, size: int = 1, black_only: bool = False):

Render QR code on screen Args: tft (any): TFT Display object qr (any): QR Code object xd (int): X position on screen yd (int): Y position on screen size (int, optional): QR code size, default 1 black_only (bool, optional): Render only black parts of QR, default is False (White and Black render)