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.
Dependents: HYBRYD2018_IZU_ROCKET
Diff: SHT3x.cpp
- Revision:
- 4:9a5de0485008
- Parent:
- 3:16d45bca7580
diff -r 16d45bca7580 -r 9a5de0485008 SHT3x.cpp
--- a/SHT3x.cpp Wed May 02 18:16:26 2018 +0000
+++ b/SHT3x.cpp Wed Nov 14 09:13:00 2018 +0000
@@ -65,7 +65,7 @@
float temp;
i2c->write(SLV_WRITE_SHT, cmd, 2);
- wait_ms(30);
+ //wait_ms(30);
i2c->read(SLV_READ_SHT, buff, 6);
val[0] = (unsigned int)buff[0]<<8;
@@ -88,7 +88,7 @@
float hum;
i2c->write(SLV_WRITE_SHT, cmd, 2);
- wait_ms(30);
+ //wait_ms(30);
i2c->read(SLV_READ_SHT, buff, 6);
val[0] = (unsigned int)buff[3]<<8;