>>> Join Us in the Fight Against Air Pollution

AirGradient Forum

Error complaining message of DIY_ PRO_V3_7.ino

Dear AirGradient,

When I compiling of DIY_ PRO_V3_7.ino I got the below message of error reported.
I try all .ino sketches that all the ,ino sketches are having the same message but the compiling result can be completed.
Is the message is not critical errors or my Arduino IDE is having problem?
I have try to install a new Arduino IDE v2.1.1 on another Windows 10 computer is still having the same errors reported.

I am using AirGradient Air Quality Sensor Library v2.4.3
Any comments on that?

Thanks,
Alan

c:\Users\ang\Documents\Arduino\libraries\AirGradient_Air_Quality_Sensor\AirGradient.cpp: In member function ‘TMP_RH AirGradient::returnError(TMP_RH_ErrorCode)’:
c:\Users\ang\Documents\Arduino\libraries\AirGradient_Air_Quality_Sensor\AirGradient.cpp:684:14: warning: converting to non-pointer type ‘float’ from NULL [-Wconversion-null]
684 | result.t = NULL;
| ^~~~
c:\Users\ang\Documents\Arduino\libraries\AirGradient_Air_Quality_Sensor\AirGradient.cpp:685:15: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
685 | result.rh = NULL;
| ^~~~
. Variables and constants in RAM (global, static), used 33168 / 80192 bytes (41%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1524 initialized variables
╠══ RODATA 3556 constants
╚══ BSS 28088 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 62667 / 65536 bytes (95%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 29899 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 353952 / 1048576 bytes (33%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 353952 code in flash

Please contact our support team. You probably have the wrong board selected in the Arduino IDE. We can make a quick Zoom call and guide you through it.
https://www.airgradient.com/support/

Hi AirGradient,

This problem is just discovered since I review the code and wanted and try on another LOLIN(WEMOS) D1 R2 mini that I selected in the Arduino IDE.
I have DIY with your DIY Pro kit V3.7 and conversion kit v3.7. Can you tell me what board type should I be selected in Arduino IDE? I also DIY the BASIC kit that I use D1 Mini which the sketch compiling having the same message.
All the DIY PRO kit are running okay at the moment since I do not Re-flash it under this case.

From the DIY kit, it come with Wemos D1 Mini v4 USB-C
model so I select the Wemos D1 R2 mini for the compiling.

Alan

For the board please select:
image

Hope that helps.

Hi AirGradient,

The board you recommended which is I am using for AirGradient sketch files on day one.
I am using the same board of LOLIN(MEMOS) D1 R2 mini.
I have searched for others of error compiling issue then I try to down grade the ESP8266 version from the latest v3.1.2 to v2.7.4 then the error is not reported and I upgrade upward to v3.0.0 is compatible with no error reported. The v3.1.1 and v3.1.2 caused the issue that I reported.
I checked Board ESP8266 v3.0.0 working on Arduino IDE v1.8.19 and v2.1.1

Would you take a look on that issue?

Regards,
Alan

@Achim_AirGradient Do you have any updates on my reported issue?
It looks like AirGradient library is not compatible with the latest version of ESP8266 board version higher then v3.0.0
If I upload the firmware from web install, it work fine! So, I do not sure the Web install is same as the sketch file.

Alan