Modifications

Sauter à la navigation Sauter à la recherche
Ligne 28 : Ligne 28 :     
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).
 
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).
 +
 +
== Streamer les données de senseur ==
 +
You can take Quaternion (absolute orientation), Accelerometer, Gyroscope, Magnetometer or GPS Location data from your phone and send it directly to your Arduino from the Controller activity.
 +
 +
By enabling the '''Accelerometer''' field, for example, you should see accelerometer data update in the app:
 +
 +
{{ADFImage|Bluefruit-LE-Shield-Controller-30.jpg}}
 +
 +
The data is parsed in the example sketch and output to the Serial Monitor as follows:
 +
 +
<nowiki>Accel 0.20 -0.51 -0.76
 +
Accel 0.22 -0.50 -0.83
 +
Accel 0.25 -0.51 -0.83
 +
Accel 0.21 -0.47 -0.76
 +
Accel 0.27 -0.48 -0.82</nowiki>
 +
 +
{{ADFImage|Bluefruit-LE-Shield-Controller-31.png}}
 +
 +
Note that even though we only print 2 decimal points, the values are received from the App as a full 4-byte floating point.
    
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation