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:
- 6:b4f0687c4d14
- Parent:
- 5:2732931df96c
- Parent:
- 4:5fc4815b0583
- Child:
- 7:46889f2aa444
--- a/Capteurs/Sensors.cpp Mon Dec 04 20:42:05 2017 +0000
+++ b/Capteurs/Sensors.cpp Mon Dec 04 20:43:20 2017 +0000
@@ -21,7 +21,7 @@
read_RTD(RTDBuf);
read_PH(phBuf);
- sprintf(TxBuf,"%s;%s;%s",RTDBuf,phBuf,ECBuf);
+ sprintf(TxBuf,"%s;%s;%s",RTDBuf+1,phBuf+1,ECBuf+1);
pc.printf("%s\n",TxBuf);
xbee_broadcast(TxBuf,strlen(TxBuf)+1);
pc.printf("TxBuf strlen: %i\n",strlen(TxBuf));
