Skip to content

any luck controlling Apa102 SPI with the BBC micro:bit? #679

Closed

Description

@andrewringler

Has anyone had any luck controlling an APA102 strip over hardware SPI with the BBC micro:bit? I can control it fine from a micro:bit using hardware SPI pins 13 and 15 using the https://github.com/adafruit/Adafruit_DotStar library and the https://github.com/sandeepmistry/arduino-nRF5 board and the Arduino IDE, but i've had no luck getting the FastLED library to work. I am using an Adafruit Dotstar branded strip.

I did have to comment out typedef uint8_t boolean; in platforms/arm/nrf51/led_sysdefs_arm_nrf51.h to get the code to compile (since it is defined as typedef bool boolean; in the sandeepmistry board library, but it does then compile and upload to the micro:bit, but then it doesn't update any LEDs. I've tried various combinations of using soft SPI and various speeds from 40 Khz to 8 Mhz with no luck.

Keywords: micro:bit micro bit microbit

Activity

  1. zackees commented on Apr 16, 2026

    @zackees
    Member

    Closing this issue — it was opened over 4 years ago with no activity. If this is still relevant with a current FastLED version, please reopen with a minimal reproduction sketch and version details. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions