lab9
Dependencies: ATParser MPL3115A2 TSL2561 mbed
Revision 10:ce4aadfeeb7d, committed 2018-04-28
- 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); } }