Hey guys, quick question. Which pin on the circuit playground express is the SPI pin? I want to connect a dotstar strip. I know which pins to use for power, ground and data, but I’m unsure which should be used for the clock (ci). Does it have to connect to a pin with SPI? Which pin would that be? Or can I use any pin so long as it’s defined in the script.
The SPI flash is an external 2MB Flash memory chip on the Circuit Playground. The SPI bus is used to access this chip, located between the USB port and the SAMD21 chip. This is where MicroPython is stored, and is the drive that appears when you plug the Circuit Playground into the USB port on your computer.
You do not need SPI to connect dotstar LEDs. If you read the dotstar documentation, you will find it says hardware SPI is handy, but not necessary.
As long as you have 2 GPIO pins, you can use Adafruit’s dotstar library to drive the LEDs.
Hardware SPI support is handy but not required. As long as you have 2 GPIO pins available, you can use Adafruit’s dotstar library to drive the LEDs.