HIH-8131
00
|
Makrodefinitionen | |
#define | I2C_ADDR 0x4E |
#define | ACK 1 |
#define | NACK 0 |
#define | TRUE 1 |
#define | FALSE 0 |
#define | I2C_READ 1 |
#define | I2C_WRITE 0 |
Funktionen | |
void | hih_mr (void) |
Humidity and Temperature Measurement Request. Mehr ... | |
uint8_t | hih_df (uint16_t *hum, uint16_t *tmp) |
Humidity and Temperature Data Fetch. Mehr ... | |
uint8_t | hih_scanaddr (void) |
Scan the i2C Address, only for a Single Device on Bus. Mehr ... | |
void | hih_setaddr (uint8_t addr) |
Set the i2C Address. Mehr ... | |
uint8_t | hih_getrht (float *rh, float *t) |
Make a complete Measurement Cycle and convert RH in % and T in C° Mehr ... | |
Variablen | |
uint8_t | i2c_addr = I2C_ADDR |
#define ACK 1 |
#define FALSE 0 |
#define I2C_ADDR 0x4E |
#define I2C_READ 1 |
#define I2C_WRITE 0 |
#define NACK 0 |
#define TRUE 1 |
uint8_t i2c_addr = I2C_ADDR |