ensaht/include/aht.h

11 lines
172 B
C

#ifndef AHT_H
#define AHT_H
#include "hardware/i2c.h"
#include <stdint.h>
#define AHT_ADDR 0x38
void getAHTData(i2c_inst_t *i2c, double *t, double *h);
#endif // AHT_H