Datasheet
If Using Hardware or Software UART
This tutorial does not need to use the MODE pin, make sure you have the mode switch in
CMD mode if you do not configure & connect a MODE pin
This demo uses some long data transfer strings, so we recommend defining and connecting
both CTS and RTS to pins, even if you are using hardware serial.
If you are using a Flora or just dont want to connect CTS or RTS, set the pin #define's to -1
and Don't forget to also connect the CTS pin on the Bluefruit to ground! (The Flora has this
already done)
If you are using RTS and CTS, you can remove this line below, which will slow down the data
transmission
Running the Sketch
Once you upload the sketch to your board (via the arrow-shaped upload icon), and the
upload process has finished, open up the Serial Monitor via Tools > Serial Monitor, and make
sure that the baud rate in the lower right-hand corner is set to 115200:
// this line is particularly required for Flora, but is a good idea
// anyways for the super long lines ahead!
ble.setInterCharWriteDelay(5); // 5 ms
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 103 of 238










