Datasheet

BLE Pin I/O
Firmata is a generic protocol for communicating with microcontrollers and controlling the board's pins such as setting
the GPIO outputs and inputs, PWM output, analog reads, etc....
Setup
In order to run this demo, you will need to open Bluefruit LE Connect on your mobile device using our free
iOS (https://adafru.it/f4H), Android (https://adafru.it/f4G) or OS X (https://adafru.it/o9F) applications.
Load the StandardFirmataBLE example sketch (https://adafru.it/Bl4) in the Arduino IDE
Compile the sketch and flash it to your nRF52 based Feather
Once you are done uploading, open the Serial Monitor (Tools > Serial Monitor)
Open the Bluefruit LE Connect application on your mobile device
Connect to the appropriate target (probably 'Bluefruit52')
Once connected switch to the Pin I/O application inside the app
For more information using Pin I/O module, you could check out this tutorial here https://learn.adafruit.com/bluefruit-le-
connect-for-ios/pin-i-o
Complete Code
The latest version of this code is always available on Github (https://adafru.it/vaN), and in the Examples folder of the
nRF52 BSP.
The code below is provided for convenience sake, but may be out of date! See the link above for the latest
code.
© Adafruit Industries https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide Page 53 of 175