Datasheet

Bluefruit UART Friend V2
Bluefruit LE UART Friend
BLESPIFRIEND Firmware (SPI)
Bluefruit LE SPI Friend
Bluefruit LE Shield
Bluefruit LE Micro
Feather 32u4 Bluefruit LE
Feather M0 Bluefruit LE
3. Flash a Test Sketch
Once the core Bluefruit firmware has been updated, flash a test sketch to the device from
the Arduino IDE, such as the following blinky code:
4. Perform a Factory Reset
Once the core Bluefruit firmware has been updated, the final step is to perform a factory
reset.
With the board still powered up, connect the DFU pin to GND
Leave the pin set to GND (or hold the DFU button down) for >5 seconds until the BLUE
status LED starts to blink
Remove the DFU jumper cable or release the DFU button
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 232 of 238