Différences entre versions de « Bluefruit-LE-Shield-HIDKeyboard »
Ligne 16 : | Ligne 16 : | ||
== Configuration == | == Configuration == | ||
+ | Check the '''Configuration!''' page earlier to set up the sketch for Software/Hardware UART or Software/Hardware SPI. The default is hardware SPI | ||
+ | |||
+ | If using software or hardware Serial 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 | ||
+ | * Don't forget to also '''connect the CTS pin on the Bluefruit to ground if you are not using it!''' (The Flora has this already done) | ||
+ | |||
+ | == Exécuter le croquis == | ||
+ | {{traduction}} | ||
{{Bluefruit-LE-Shield-TRAILER}} | {{Bluefruit-LE-Shield-TRAILER}} |
Version du 21 mai 2017 à 16:15
Le croquis HIDKeyboard
The HIDKeyboard example shows you how you can use the built-in HID keyboard AT commands to send keyboard data to any BLE-enabled Android or iOS phone, or other device that supports BLE HID peripherals.
Ouvrir le croquis
To open the ATCommand sketch, click on the File > Examples > Adafruit_BluefruitLE_nRF51 folder in the Arduino IDE and select hidkeyboard:
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
Configuration
Check the Configuration! page earlier to set up the sketch for Software/Hardware UART or Software/Hardware SPI. The default is hardware SPI
If using software or hardware Serial 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
- Don't forget to also connect the CTS pin on the Bluefruit to ground if you are not using it! (The Flora has this already done)
Exécuter le croquis
Basé sur "Bluefruit LE Shield" d'Adafruit Industries, écrit par
Kevin Townsend - Traduit en Français par shop.mchobby.be CC-BY-SA pour la traduction
Toute copie doit contenir ce crédit, lien vers cette page et la section "crédit de traduction".
Based on "Bluefruit LE Shield" from Adafruit Industries, written by
Kevin Townsend - Translated to French by shop.mchobby.be CC-BY-SA for the translation
Copies must includes this credit, link to this page and the section "crédit de traduction" (translation credit).
Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com