Hi,
I just started an automated gardening system with an lcd to show temperature, humidity and moisture of soil. Analog pins 1,2,3. And 2 relays to control water pump and light. Digital 1,2.
The program i wrote has a delay which makes the whole loop wait till the delay gets over, its a long delay because i want to time the light to stay on for 18 hrs.
how do i make all of this work together, including displaying temperature, humidity and moisture level on lcd, while the light stays on with timer and pump starts when the moisture level is low??
Any help will be appreciated, any different function i can use tomake all of them work simultaneously.