I have a NANO 33 IoT connected to SHT31 and BMP280 sensors via I2C interface.
My code does not pass compilation in the web IDE (create.arduino.create.cc/editor). It seems like the root of the problem is that the wrong library is used. This is the error code:
Multiple libraries were found for "SHT31.h"
Used: /home/builder/opt/libraries/latest/sht31_0_2_0
Not used: /tmp/974373347/custom/Grove SHT31 Temp Humi Sensor
Not used: /home/builder/opt/libraries/latest/grove_sht31_temp_humi_sensor_1_0_0
I want to use this library GitHub - Seeed-Studio/Grove_SHT31_Temp_Humi_Sensor and that is the one that was not used, although I have marked it as a favorite. I also manually installed it as a custom library (by dowloading the zip file), and that did not resolve the problem either.
As I understand the custom-library is of highest priority for use, and the favorites the second highest. While the default libraries have lowest priority.
The strange thing is that I can not find any sht31 library in the default section, so I do not really understand from where the web editor got the sht31_0_2_0 library.
In the favorites section of the library panel of the web editor, I double click on the "include" button, then it states "loading source..." but it never comes to an end, so I do not know if there could a problem to download the library favorites section. But as I also downloaded the library manually in the custom section, I do not think this is the main issue.