grove_temp_hum
Embed:
(wiki syntax)
Show/hide line numbers
grove_temp_hum_class.h
00001 00002 00003 00004 #ifndef __GROVE_TEMP_HUM_CLASS_H__ 00005 #define __GROVE_TEMP_HUM_CLASS_H__ 00006 00007 #include "grove_temp_hum.h" 00008 00009 //GROVE_NAME "Grove_TempHum" 00010 //IF_TYPE GPIO 00011 //IMAGE_URL http://www.seeedstudio.com/wiki/File:Temp%26Humi.jpg 00012 00013 class GroveTempHum 00014 { 00015 public: 00016 GroveTempHum(int pin); 00017 bool write_setup(uint8_t type, uint8_t count); 00018 bool read_temperature(bool S, float *temperature); 00019 bool read_humidity(float *humidity); 00020 00021 private: 00022 IO_T *io; 00023 }; 00024 00025 #endif
Generated on Tue Jul 12 2022 19:57:47 by 1.7.2