Skip to content

BREAKING CHANGE - Now includes CLUE support!

Compare
Choose a tag to compare
@kattni kattni released this 20 Feb 16:57
bf25d8b

THIS IS A BREAKING CHANGE. Import is no longer the same and the library no longer requires instantiation. It is now:

from adafruit_pybadger import pybadger

All code beyond import and instantiation should function the same if library was instantiated as pybadger. To use features, simply include them as pybadger.foo, e.g.:

print(pybadger.acceleration)
pybadger.show_qr_code()

Updates:

  • No new features have been added.
  • Board type is automatically detected and applicable features are imported.
  • Features that are not supported on a given board throw a clear error.