From 4008253dfd2005da102f6da06389268ecef152f6 Mon Sep 17 00:00:00 2001 From: Gustavoeklund01 Date: Mon, 27 Oct 2025 19:15:23 -0300 Subject: conciliação dos sensores do esp32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp/BH1750.ino | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 esp/BH1750.ino (limited to 'esp/BH1750.ino') diff --git a/esp/BH1750.ino b/esp/BH1750.ino deleted file mode 100644 index 9d4f9c9..0000000 --- a/esp/BH1750.ino +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include - -BH1750 lightMeter; - -void setup(){ - Serial.begin(115200); - Wire.begin(21, 22); - lightMeter.begin(); - Serial.println("Teste sensor luminosidade"); -} -void loop(){ - float lux = - lightMeter.readLightLevel(); - - Serial.print("Luminosidade: "); - Serial.print(lux); - Serial.println(" lux"); - - delay(1000); -} \ No newline at end of file -- cgit v1.2.3