Post topics, source code that relate to the Arduino Platform

User avatar
By GeorgeLuis
#88723 Hello,

I've a working hardware setup and two codes 1 to read the sht30 and push the data to my tft screen.

And 2 a code to set a fan (2fans) on and off.

I want to combine these whenever the humidity is over 50% the fans should go on.

3 issues arise.

1. less important my serial.println() doesn't print anything anymore after the display.begin()
2. my second if loop doesn't get printed not in serial or in display
3. Fans are not getting activated by the code.

My searching leads me to think I need to convert my sht30.humidity into an int before making the if loop.

Or it could be something entirely else ofcourse.