diff options
Diffstat (limited to 'src/hih61xx.h')
-rw-r--r-- | src/hih61xx.h | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/src/hih61xx.h b/src/hih61xx.h index 8675562..44effd6 100644 --- a/src/hih61xx.h +++ b/src/hih61xx.h @@ -11,12 +11,28 @@ void hih61xx_list_all(void); void hih61xx_read_all(const char *opts); */ void hih61xx_print_all(void); -void hih61xx_get_data(void); -void hih61xx_conf_set(const uchar *opts); -unsigned char hih61xx_read_status(void); -float hih61xx_calc_humidity(float offset); -float hih61xx_read_temp(float offset); 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 -#endif
\ No newline at end of file |