diff options
author | Gergő J. Miklós | 2019-05-15 20:27:59 +0200 |
---|---|---|
committer | Gergő J. Miklós | 2019-05-15 20:27:59 +0200 |
commit | 812af485ea41fe162bb6fb888045318152bf2c66 (patch) | |
tree | 0ca7966bb8ea819e87d80a9282a20c90c6f17c15 /src/hih61xx.h | |
parent | d150a9f31a81a7dc02f2359529a7351c743a0067 (diff) | |
download | i2sensors-812af485ea41fe162bb6fb888045318152bf2c66.tar.gz i2sensors-812af485ea41fe162bb6fb888045318152bf2c66.zip |
hih61xx refactoredv1.001
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 |