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.
tHIH6130.h
00001 #ifndef THIH6130_H 00002 #define THIH6130_H 00003 00004 #include "mbed.h" 00005 00006 class tHIH6130 00007 { 00008 private: 00009 I2C *pI2c; 00010 unsigned char WrAdr; 00011 unsigned char RdAdr; 00012 00013 float Temp,Humi; 00014 00015 00016 00017 public: 00018 tHIH6130(unsigned char aAdrHIH,I2C* apI2c); 00019 float getTemp(void); 00020 float getHumi(void); 00021 00022 00023 int StartMesure(void); // Déclenche la mesure 00024 int UpdateData(void); // Met à jour température et humidié, à appeler au plus tôt 50ms après StartMesure 00025 00026 00027 00028 00029 00030 00031 00032 }; 00033 00034 #endif 00035 00036 00037
Generated on Wed Jul 13 2022 19:52:43 by
1.7.2