Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Bluefruit-LE-Shield-NAV}}
 
{{Bluefruit-LE-Shield-NAV}}
 +
 +
== Commande matériel ==
 +
The following commands allow you to interact with the low level HW on the Bluefruit LE module, such as reading or toggling the GPIO pins, performing an ADC conversion ,etc.:
 +
 +
== AT+BAUDRATE ==
 +
Changes the baud rate used by the HW UART peripheral on the nRF51822.
 +
* Codebase Revision: 0.7.0
 +
* Parameters: Baud rate, which must be one of the following values:
 +
** 1200
 +
** 2400
 +
** 4800
 +
** 9600
 +
** 14400
 +
** 19200
 +
** 28800
 +
** 38400
 +
** 57600
 +
** 76800
 +
** 115200
 +
** 230400
 +
** 250000
 +
** 460800
 +
** 921600
 +
** 1000000
 +
* Output: The current baud rate
 +
 +
<nowiki># Set the baud rate to 115200
 +
AT+BAUDRATE=115200
 +
OK
 +
 +
# Check the current baud rate
 +
AT+BAUDRATE
 +
115200
 +
OK</nowiki>
 +
 +
== AT+HWADC ==
 +
Performs an ADC conversion on the specified ADC pin
 +
 +
* Codebase Revision: 0.3.0
 +
* Parameters: The ADC channel (0..7)
 +
* Output: The results of the ADC conversion
 +
 +
<nowiki>AT+HWADC=0
 +
178
 +
OK</nowiki>
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation