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.
Revision 4:336b944e9430, committed 2019-05-27
- Comitter:
- guiguitt
- Date:
- Mon May 27 20:37:26 2019 +0000
- Parent:
- 3:0f35f1ae2cd9
- Commit message:
- correction
Changed in this revision
| lorawan-SP/capteur/capteur.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/lorawan-SP/capteur/capteur.cpp Mon May 27 19:21:19 2019 +0000
+++ b/lorawan-SP/capteur/capteur.cpp Mon May 27 20:37:26 2019 +0000
@@ -12,7 +12,7 @@
{
do{
i2c.write(EZO_RTD, "R",1,0);//
- delay(0.6);
+ wait(0.6);
i2c.read(EZO_RTD, res, 7,0);
//code((int) res[0]);
} while((int)res[0]!=1);
@@ -24,7 +24,7 @@
do{
i2c.write(EZO_pH, "R",1,0);
- delay(0.9);
+ wait(0.9);
i2c.read(EZO_pH, res_ph, 7,0);
//code((int) res[0]);
} while((int)res_ph[0]!=1);
@@ -36,7 +36,7 @@
do{
i2c.write(EZO_EC, "R",1,0);
- delay(0.6);
+ wait(0.6);
i2c.read(EZO_EC, res_ec, 7,0);
//code((int) res[0]);
} while((int)res_ec[0]!=1);
@@ -48,7 +48,7 @@
do{
i2c.write(EZO_DO, "R",1,0);
- delay(0.6);
+ wait(0.6);
i2c.read(EZO_DO, res_do, 7,0);
//code((int) res[0]);
} while((int)res_do[0]!=1);