The best way to get started is to follow instructions on https://learn.adafruit.com/adafruit-circuit-playground-bluefruit/overview
If you haven't used the board before it probably has an outdated boot loader version. Follow instructions to update the boot loader, install Circuit Python and libraries.
adafruit_circuitplayground library is a great way to get started, but is pretty limited.
I recommend working through all of the pages on https://learn.adafruit.com/adafruit-circuit-playground-bluefruit/creating-and-editing-code
including
- editor choice (note that Mu editor is no longer maintained, Thonny is a good AI-free child-friendly alternative).
- working with the REPL
- serial communication (Thonny has a plotter that is great to see numerical values if you print them with
printstatements) - for Vim users, configure Vim to not write temporary swap files to the board (see Recommended Editors)
Circuit Python cannot be installed with older versions of Adafruit boot loader. Follow instructions on learn.adafruit.com/adafruit-circuit-playground-bluefruit/update-bootloader to check your boot loader version. I use the Arduino IDE method for my boards.
Follow instructions on https://learn.adafruit.com/adafruit-circuit-playground-bluefruit/circuitpython
Follow instructions on https://learn.adafruit.com/adafruit-circuit-playground-bluefruit/circuit-playground-bluefruit-circuitpython-libraries