Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed HeptaBattery SDFileSystem HeptaCamera_GPS Hepta9axis HeptaTemp HeptaXbee
Diff: main.cpp
- Revision:
- 22:3c013a3a56cf
- Parent:
- 21:0d70132497a2
- Child:
- 23:ac2e4bf32370
--- a/main.cpp Tue Sep 12 08:33:21 2017 +0000 +++ b/main.cpp Tue Sep 12 08:47:44 2017 +0000 @@ -26,7 +26,7 @@ tt.start(); temper.temp_sensing_vol(&voltage); temper.temp_sense(&temp); - xbee.printf("Volt = %f,Temp = %f\r\n",voltage,&temp); + xbee.printf("Volt = %f,Temp = %f\r\n",voltage,temp); wait(0.5); timer = tt.read(); fprintf(fp,"%f,%f,%f\r\n",timer,voltage,temp); @@ -42,7 +42,7 @@ tt.start(); temper.temp_sensing_vol(&voltage); temper.temp_sense(&temp); - xbee.printf("Volt = %f,Temp = %f\r\n",voltage,&temp); + xbee.printf("Volt = %f,Temp = %f\r\n",voltage,temp); wait(0.5); timer = tt.read(); fprintf(fp,"%f,%f,%f\r\n",timer,voltage,temp);