lab9

Dependencies:   ATParser MPL3115A2 TSL2561 mbed

Files at this revision

API Documentation at this revision

Comitter:
kmhatre
Date:
Sat Apr 28 00:56:22 2018 +0000
Parent:
9:c1416b2f865b
Commit message:
lab9

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Apr 28 00:52:25 2018 +0000
+++ b/main.cpp	Sat Apr 28 00:56:22 2018 +0000
@@ -82,7 +82,7 @@
         float temp = pressure_sensor.getTemperature();
         float pres = pressure_sensor.getAltitude();
         pc.printf("%f %f\n\r", temp, pres);
-        at.send("AT+SEND=%3.2f %3.2f");  
+        at.send("AT+SEND=%3.2f %3.2f", temp, pres);  
         wait(3600); 
     }
 }