esp32 with sensors

Muznah9
Posts: 3
Joined: Tue Feb 25, 2020 6:35 pm

esp32 with sensors

Postby Muznah9 » Tue Feb 25, 2020 7:37 pm

Hi all,

I am working with esp32 and Arduino IDE, in my project there are two I2C sensors, the problem is that some times they don't return any value.
Let's say I have three different codes, the first one for the first sensor, the second one for another sensor, and the third one is the main code, it contains the codes for both sensors and more extra functions.

If I upload the main code, sensors don't return any values but, if I upload the first and the second codes and then upload the main code, it works fine. :(

Thanks in advance!
Best regards

Who is online

Users browsing this forum: No registered users and 77 guests