29 #include "mraa/gpio.h" 31 #include "sht1x_defs.h" 49 mraa_gpio_context gpio_clk;
50 mraa_gpio_context gpio_data;
void sht1x_close(sht1x_context dev)
Definition: sht1x.c:119
float sht1x_get_humidity(const sht1x_context dev)
Definition: sht1x.c:336
upm_result_t sht1x_read_status(const sht1x_context dev, uint8_t *status)
Definition: sht1x.c:351
upm_result_t sht1x_write_status(const sht1x_context dev, uint8_t status)
Definition: sht1x.c:367
upm_result_t sht1x_wait_for_response(const sht1x_context dev)
Definition: sht1x.c:258
void sht1x_read_8bits(const sht1x_context dev, uint8_t *value)
Definition: sht1x.c:288
float sht1x_get_temperature(const sht1x_context dev)
Definition: sht1x.c:329
struct _sht1x_context * sht1x_context
sht1x_context sht1x_init(unsigned int clk_pin, unsigned int data_pin)
Definition: sht1x.c:31
upm_result_t sht1x_update(const sht1x_context dev)
Definition: sht1x.c:131
void sht1x_reset(const sht1x_context dev)
Definition: sht1x.c:343
upm_result_t sht1x_write_8bits(const sht1x_context dev, uint8_t byte)
Definition: sht1x.c:201
void sht1x_set_volts(const sht1x_context dev, SHT1X_VOLTS_T volts)
Definition: sht1x.c:382
upm_result_t sht1x_send_command(const sht1x_context dev, SHT1X_CMD_T cmd)
Definition: sht1x.c:248
void sht1x_start_xmit(const sht1x_context dev)
Definition: sht1x.c:184