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.
Diff: lib_SHT25.h
- Revision:
- 6:084428a5efcd
- Parent:
- 5:8e34f365eb45
- Child:
- 7:b55223269e6b
--- a/lib_SHT25.h Wed Jun 30 09:05:04 2021 +0000 +++ b/lib_SHT25.h Wed Sep 08 06:48:12 2021 +0000 @@ -48,7 +48,11 @@ #define SHT_WAIT_MS_TEMP 85 //Sensor Temp measure #define SHT_WAIT_MS_RH 29 //Sensor RH measure #define SHT_WAIT_MS_SET 15 //Sensor (re)set +#if defined(TARGET_LPC1768) #define SHT_WAIT_MS(MS_DELAY) (wait_us(MS_DELAY*1000)) //(ThisThread::sleep_for(MS_DELAY)) introduit un bug de l'adresse MAC avec le LPC1768 +#else +#define SHT_WAIT_MS(MS_DELAY) (ThisThread::sleep_for(MS_DELAY*1ms)) +#endif #if MBED_MAJOR_VERSION > 5 #define SHT_SELF_HEATING 1s //Keep self heating #else