Différences entre versions de « Bluefruit-LE-Shield-Controller »
Ligne 15 : | Ligne 15 : | ||
{{ADFImage|Bluefruit-LE-Shield-Controller-01.png}} | {{ADFImage|Bluefruit-LE-Shield-Controller-01.png}} | ||
− | |||
− | |||
== Utiliser Bluefruit LE Connect en mode contrôleur == | == Utiliser Bluefruit LE Connect en mode contrôleur == |
Version du 21 mai 2017 à 19:08
En cours de traduction/élaboration. |
Le croquis Controler
The Controller sketch allows you to turn your BLE-enabled iOS or Android device in a hand-held controller or an external data source, taking advantage of the wealth of sensors on your phone or tablet.
You can take accelerometer or quaternion data from your phone, and push it out to your Arduino via BLE, or get the latest GPS co-ordinates for your device without having to purchase (or power!) any external HW.
Ouvrir le croquis
To open the Controller sketch, click on the File > Examples > Adafruit_BluefruitLE_nRF51 folder in the Arduino IDE and select controller:
Crédit: AdaFruit Industries www.adafruit.com
This will open up a new instance of the example in the IDE, as shown below:
Crédit: AdaFruit Industries www.adafruit.com
Utiliser Bluefruit LE Connect en mode contrôleur
Once the sketch is running you can open Adafruit's Bluefruit LE Connect application (available for Android or iOS) and use the Controller application to interact with the sketch. (If you're new to Bluefruit LE Connect, have a look at our dedicated Bluefruit LE Connect learning guide (Adafruit, anglais).)
On the welcome screen, select the Adafruit Bluefruit LE device from the list of BLE devices in range:
Crédit: AdaFruit Industries www.adafruit.com
Then from the activity list select Controller:
Crédit: AdaFruit Industries www.adafruit.com
This will bring up a list of data points you can send from your phone or tablet to your Bluefruit LE module, by enabling or disabling the appropriate sensor(s).