Correct AM2302 temp

This commit is contained in:
2023-12-31 12:52:59 +03:00
parent 84f7313123
commit af4b7e9f6d
3 changed files with 8 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = lolin
default_envs = nodemcuv2
[env:uno]
platform = atmelavr
board = uno

View File

@@ -31,7 +31,7 @@ void setup() {
byte count = 0;
Wire.begin(SDA, SCL);
for (byte i = 1; i < 15; i++)
for (byte i = 1; i < 100; i++)
{
Serial.print("Scan adr ");Serial.print(i, 16);
Wire.beginTransmission (i);