Correct AM2302 temp
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[platformio]
|
||||
default_envs = lolin
|
||||
default_envs = nodemcuv2
|
||||
[env:uno]
|
||||
platform = atmelavr
|
||||
board = uno
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user