summaryrefslogtreecommitdiff
path: root/esp/src/bh1750.cpp
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-10-28 21:08:06 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-10-28 21:08:06 -0300
commit0c5b080efac82b1d196e3dde00e5950c97ecbb68 (patch)
tree9cab7ac15860270014c45f76c661d50e5be689f2 /esp/src/bh1750.cpp
parent7ccab61c22fafb3bb9fa5470ff8cb46217111fe4 (diff)
feat:leitura assíncrona de leitores
Diffstat (limited to 'esp/src/bh1750.cpp')
-rw-r--r--esp/src/bh1750.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/esp/src/bh1750.cpp b/esp/src/bh1750.cpp
deleted file mode 100644
index 196705c..0000000
--- a/esp/src/bh1750.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <Wire.h>
-#include <BH1750.h>
-#include "bh1750.h"
-
-BH1750 lightMeter;
-
-void setupBH1750() {
- lightMeter.begin();
-}
-
-float lerBH1750() {
- return lightMeter.readLightLevel();
-}