Custom badge feature - Example update.
REMEMBER - 2.0.0 was a BREAKING CHANGE. Import is no longer the same as pre-2.0.0, and the library no longer requires instantiation. It is now:
from adafruit_pybadger import pybadger
Updates since 2.0.0:
- show() renamed to show_custom_badge.
- Added URL to example QR code.
2.0.1 adds a custom badge feature! You can now display lines of text over a color-block or image background, each of a different color, scale, and font. You also have the option to left justify the font. Examples for CLUE and PyBadge/PyGamer are in the examples folder.
New features are:
badge_background
creates a customisable color-block badge backgroundimage_background
allows you to specify a compatible bitmap for the backgroundbadge_line
allows you to create a line of text to displayshow_custom_badge()
displays your badge. Required for badge to display.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.