Libraries

Once you've gotten CircuitPython onto your CLUE or Circuit Playground Bluefruit (CPB) board, it's time to add some libraries. You can follow this guide page for the basics of downloading and transferring libraries to the board.

Libraries for Metal Detector for CLUE

From the library bundle you downloaded in that guide page, transfer the following libraries onto the CLUE board's /lib directory:

  • adafruit_apds9960
  • adafruit_bus_device
  • adafruit_display_notification
  • adafruit_display_text
  • adafruit_register
  • adafruit_display_shapes
  • adafruit_bmp280.mpy
  • adafruit_clue.mpy
  • adafruit_lis3mdl.mpy
  • adafruit_lsm6ds.mpy
  • adafruit_sht31d.mpy
  • adafruit_slideshow.mpy
  • neopixel.mpy

There are many libraries with similar names, take care on the selection.

Libraries for Metal Detector for Circuit Playground Bluefruit with TFT Gizmo

From the library bundle you downloaded in that guide page, transfer the following libraries onto the CPB board's /lib directory:

  • adafruit_gizmo
  • adafruit_circuitplayground
  • adafruit_display_shapes
  • adafruit_bus_device
  • adafruit_display_notification
  • adafruit_display_text
  • adafruit_register
  • adafruit_lis3dh.mpy
  • adafruit_thermistor.mpy
  • adafruit_st7789.mpy
  • neopixel.mpy

Development Testing

During development, the application was tested on a CLUE using CircuitPython 5.2.0 with libraries from the adafruit-circuitpython-bundle-5.x-mpy-20200501.zip bundle. It should work on subsequent versions, the latest version is recommended for the CLUE.

A small amount of testing was also performed on a Circuit Playground Bluefruit with a TFT Gizmo.

This guide was first published on May 13, 2020. It was last updated on May 13, 2020.

This page (CircuitPython) was last updated on Jan 19, 2021.