You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
624 B

<> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy us a ( > 0 ) beer/mate in return - The Xil TEAM
#ifndef HTU21_H
#define HTU21_H
#include <stdint.h>
#include <stdbool.h>
#include "drivers/i2c.h"
typedef struct {
// Configuration
// Internal data
bool initilized;
// calibration data
// busses
i2c_t* i2c;
// collected data
int16_t humidity;
int16_t temperature;
} htu21_t;
#endif // HTU21_H