I have no experience with programming besides watching a game dev tutorial one time 5 years back.
Recently myself and my partner decided to try our hand at growing Microgreens(sprouts grown in a room under artificial light).
Being the bright spark I am, I decided I wanted to try Coding again and our grow room needed a basic climate controller, entirely built and coded by me....
This brings us to now:
my end goal is to have:
An lcd display current and desired temperature and humidity.
When the temperature or humidity is lower or higher than desired a heater, cooler, Dehumidifier or Humidifier will be activated via a set of relays.
Desired temp and humidity setting will be changeable via push buttons.
I currently have no Hardware so am unable to test my code.
Throw some advice my way and let me know where I've made mistakes or need to add additional code.
Please remember I'm here to learn and improve not to have someone fix my code.
Teach me what my mistakes are, don't just rewrite my work for me.
My unfinished code is as follows:
Code: Select all
EDIT: removed code as it was non functional trash that didn't deserve life