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: XBeeLib mbed-rtos mbed
Diff: Capteurs/Sensors.cpp
- Revision:
- 9:68575180c7a7
- Parent:
- 3:e76f0ece91ef
- Child:
- 10:29d5ca2beffb
--- a/Capteurs/Sensors.cpp Mon Dec 04 14:32:33 2017 +0000
+++ b/Capteurs/Sensors.cpp Tue Dec 05 19:36:37 2017 +0000
@@ -1,5 +1,4 @@
#include "Sensors.h"
-#include "xbeeutils.h"
static Serial pc(USBTX,USBRX);
@@ -7,8 +6,8 @@
pc.printf("Calibrating sensors...\n");
- calibrate_EC();
- calibrate_RTD();
+ //calibrate_EC();
+ //calibrate_RTD();
//calibrate_PH();
pc.printf("Calibration completed!\n");
}
@@ -22,7 +21,6 @@
read_PH(phBuf);
sprintf(TxBuf,"%s;%s;%s",RTDBuf,phBuf,ECBuf);
- pc.printf("%s\n",TxBuf);
- xbee_broadcast(TxBuf,strlen(TxBuf)+1);
- pc.printf("TxBuf strlen: %i\n",strlen(TxBuf));
+
+ return TxBuf;
}
\ No newline at end of file
