Skip to content

Instantly share code, notes, and snippets.

@KeithTheEE
Created April 26, 2022 21:23
Show Gist options
  • Save KeithTheEE/a5867fefd0c37ca4781cbb84cceed84a to your computer and use it in GitHub Desktop.
Save KeithTheEE/a5867fefd0c37ca4781cbb84cceed84a to your computer and use it in GitHub Desktop.

Overall Notes:

Tested on Circuit Playground Bluefruit running Adafruit CircuitPython 7.2.5 on 2022-04-06; Adafruit Circuit Playground Bluefruit with nRF52840 Library Bundle used was adafruit-circuitpython-bundle-7.x-mpy-20220422

Any instance of from adafruit_circuitplayground.express import cpx must be changed to from adafruit_circuitplayground.bluefruit import cpb

Subsequently any call of cpx must be changed to cpb

  • A0 needs to be remapped, I used A2
  • A7 needs to be remapped for the neopixel strip, I used A6

Comments for the code need to be changed to reflect these pin changes Are the wire colors mentioned in the comments still valid for your parts? Example:

Connect the blue clip on the potentiometer to pad A0. Connect the black clip to a GND pad. Connect the red clip to a 3.3v pad. Connect the white clip on the NeoPixel strip to pad A7. Connect the black clip on the NeoPixel strip to a GND pad. Connect the red clip on the NeoPixel strip to the VOUT pad.

  • Use of audioio needs to be changed to allow for try imports from audiocore, audiopwmio, and audioio
  • audioio. needs to be removed to just use objects like AudioOut without the audioio prefix
  • A7 needs to be removed from the touch demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment