Run the system with the same schedule and settings all the time.
When the micro-controller starts it assumes that the time is 20:00 and it
runs the pump. Then every 20min it sprays the roots for 2s. At 10:00 it
runs the pump again.
Also make some style changes to the code and clean up a k = k++
Run the system with the same schedule and settings all the time. When the micro-controller starts it assumes that the time is 20:00 and it runs the pump. Then every 20min it sprays the roots for 2s. At 10:00 it runs the pump again.
Also make some style changes to the code and clean up a k = k++
Signed-off-by: Robin Hagman robin.hagman@gmail.com