Skip to content

Enable Circuit playground Bluefruit - #1027

Merged
kriegsman merged 3 commits into
FastLED:masterfrom
henrygab:CircuitPlaygroundBluefruit
Jul 29, 2020
Merged

kriegsman merged 3 commits into
FastLED:masterfrom
henrygab:CircuitPlaygroundBluefruit

Conversation

@henrygab

@henrygab henrygab commented May 28, 2020 •

Copy link
Copy Markdown
Contributor

This adds the necessary pin definitions for this board.
All pins were toggled using FastPin<>::toggle().

Thanks to @ardnew for pointing out an early error!

Supported pins:

  • A0 / D12 / AUDIO OUT == connected to on-board audio amplifier, not sure if can output clean signal?
  • A1 / D6
  • A2 / D9
  • A3 / D10
  • A4 / D3 / SCL
  • A5 / D2 / SDA
  • A6 / D0 / UART RX
  • A7 / D1 / UART TX
  • D8 -- for the ten built-in Neopixels

Manual test sketch used to verify correct pins is available.

Fixes #978
Also fixes #1023

@kriegsman

Copy link
Copy Markdown
Member

Thanks for the contribution!

@henrygab
henrygab deleted the CircuitPlaygroundBluefruit branch July 30, 2020 18:19
@cRoCx

cRoCx commented Nov 28, 2020

Copy link
Copy Markdown

When I try to compile the test sketch above from @henrygab on my Circuit Playground Bluefruit then I encounter the following error message on the current master branch in ArduinoIDE 1.8.13:

In file included from /Users/user/Documents/Arduino/libraries/FastLED/src/FastLED.h:48,
from /Users/user/Desktop/m/Enable_Circuit_Playground_Bluefruit/Enable_Circuit_Playground_Bluefruit.ino:16
/Users/user/Documents/Arduino/libraries/FastLED/src/fastpin.h: In instantiation of 'class FastPin<14>':
/Users/user/Desktop/m/Enable_Circuit_Playground_Bluefruit/Enable_Circuit_Playground_Bluefruit.ino:58:18: required from here
/Users/user/Documents/Arduino/libraries/FastLED/src/fastpin.h:210:24: error: static assertion failed: Invalid pin specified
210 | static_assert(validpin(), "Invalid pin specified");
exit status 1
Error compiling for board Adafruit Circuit Playground Bluefruit.

Any ideas what went wrong?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single-line improved debug print enable/disable. FastLED wont compile on circuit playground bluefruit

3 participants