hi im quite newbie with this, and i tried to upload code with am2320 driver but it give's me these errors:
C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino: In function 'void Am2320EverySecond()':
C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino:146:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-
strings]
AddLogMissed("AM2320", AM2320.valid);
^
C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino: In function 'void Am2320Show(boolean)':
C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino:171:37: error: 'i' was not declared in this scope
if ((0 == tele_period) && (0 == i)) {
^
hi im quite newbie with this, and i tried to upload code with am2320 driver but it give's me these errors:
C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino: In function 'void Am2320EverySecond()': C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino:146:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite- strings]
AddLogMissed("AM2320", AM2320.valid); ^ C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino: In function 'void Am2320Show(boolean)': C:/Users/John/Downloads/Sonoff-Tasmota-development/sonoff/xsns_92_am2320.ino:171:37: error: 'i' was not declared in this scope if ((0 == tele_period) && (0 == i)) { ^
can u help me with this, thanks