![](/media/cache/group/MultiTech_Logo_Color_w_Tagline_PNG_1000px.png.50x50_q85.png)
Example program that reads in sensor data and sends it to the 2lemetry cloud.
Dependencies: FXLS8471Q MPL3115A2 MQTT mbed
Fork of 2lemetry_Sensor_Example by
Diff: main.cpp
- Revision:
- 3:9736a8776102
- Parent:
- 2:643e3707d043
- Child:
- 5:697999b227b0
diff -r 643e3707d043 -r 9736a8776102 main.cpp --- a/main.cpp Tue Oct 28 19:07:51 2014 +0000 +++ b/main.cpp Tue Oct 28 19:09:28 2014 +0000 @@ -84,7 +84,6 @@ alt.Barometric_Mode(); float acc_data[3]; - float temperature, pressure; while (true) { if (! mqtt.connect(_2LEMETRY_DEVICE_ID, _2LEMETRY_USERID, _2LEMETRY_TOKEN)) {