I have a box that contains all of my project boards and modules, later, I added two 5v pc power supply fans
to cool it down and to get the moisture out of the box through the veneration holes in the box sides to extend the life the electronics and keep it out of mold and protect it from burning out.
I live in cold weather in the winter and hot weather in the summer, so its critical to have fans to always cool the down the boards the summer and get rid of the moisture in the winter, so, I had the idea of operating the fans for 10 mins every hour, like (10) min ON (50) OFF.
I tried my best to make this happen using Millis() but it didn’t work.
I connected the fans with a relay to control them with the code, please if you can provide any help I will be appreciative.