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 usedA2
A7
needs to be remapped for the neopixel strip, I usedA6
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 likeAudioOut
without the audioio prefixA7
needs to be removed from the touch demo
To update https://github.com/adafruit/PyCon2019/blob/main/Circuit_Playground_Express_cpx_Library_Examples/cpx_acceleration.py
from adafruit_circuitplayground.express import cpx
must be changed tofrom adafruit_circuitplayground.bluefruit import cpb
- Subsequent
cpx
must be changed tocpb
- No IR examples should be used
- The plotter examples look valid, but I did not test the plot as I don't have mu installed
- Sound Meter does not work: adafruit/Adafruit_CircuitPython_CircuitPlayground#76
- Any touch or play tone with A7 should remove A7 (seen in the touch examples)
- The file names in https://github.com/kattni/PyCon2022/tree/main/Default_Files/audio do not match the files in https://github.com/adafruit/PyCon2019/tree/main/Additional_Content