This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "HTU21D.h" | |
#include <stdio.h> | |
#include <stdbool.h> | |
#include "fw/src/sj_i2c.h" | |
#include "fw/src/sj_mongoose.h" | |
#define HTU21DF_I2CADDR 0x40 | |
#define HTU21DF_READTEMP 0xE3 | |
#define HTU21DF_READHUM 0xE5 |