добавил ещё несколько примеров для I2C

This commit is contained in:
Ogneyar committed 2024-08-21 15:49:49 +03:00
1 parent 996e316403
commit 045e4c6c78
5 files changed
+157 -3

No files matched your search

@@ -0,0 +1,15 @@
#ifndef __AHT10_H
#define __AHT10_H
#include <Wire.h>
class AHT10 {
public:
static bool begin();
static bool reset();
static bool measure(float *temp, float *hum);
static float getTemperature();
static float getHumidity();
};
#endif