The Adafruit Circuit Playground Bluefruit is small ARM development board based on the Nordic Semiconductor nrf52840 processor. It has several built-in devices such as WS2812 “NeoPixel” LEDs, buttons, an accelerometer, and some other sensors.
Interface | Hardware Supported | TinyGo Support |
---|---|---|
GPIO | YES | YES |
UART | YES | YES |
SPI | YES | YES |
I2C | YES | YES |
ADC | YES | YES |
PWM | YES | YES |
Documentation for the machine package for the Circuit Playground Bluefruit
The Circuit Playground Bluefruit comes with the UF2 bootloader already installed.
Flash your TinyGo program to the board using this command:
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
The Circuit Playground Bluefruit board should restart and then begin running your program.
Flash your TinyGo program to the board using this command:
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
The Circuit Playground Bluefruit board should restart and then begin running your program.
Flash your TinyGo program to the board using this command:
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
The Circuit Playground Bluefruit board should restart and then begin running your program.
If you have troubles getting your Circuit Playground Bluefruit board to receive code, try this:
Now try running the command:
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
Once you have updated your Circuit Playground Bluefruit board the first time, after that you should be able to flash it entirely from the command line.
You can use the USB port to the Circuit Playground Bluefruit as a serial port. UART0
refers to this connection.
For an example that uses the built-in Neopixel LEDs, take a look at the TinyGo drivers repository located at https://github.com/tinygo-org/drivers/tree/release/examples
Bluetooth support is also in development but not yet completed.