#ifndef _HIH61XX_INCLUDED #define _HIH61xx_INCLUDED #include "deftypes.h" /* extern int file; void hih61xx_list_all(void); void hih61xx_read_all(const char *opts); */ void hih61xx_print_all(void); void hih61xx_read_all(const uchar *opts); void hih61xx_read_one(const uchar *opts); void hih61xx_conf_set(const uchar *opts); // Local functions // uchar *xchg_data (uchar *buf, uint8 wrlen, uint8 waitlen, uint8 rdlen); // static float calc_temp(uchar *buf, float offset); // static uchar calc_status(uchar *buf); // static float calc_humidity(uchar *buf, float offset); // void hih61xx_get_data(void); // unsigned char hih61xx_read_status(void); // float hih61xx_calc_humidity(float offset); // float hih61xx_read_temp(float offset); #endif