Team12-UofG / SmartGreenhouse

Advance your plant growing capability with the SmartGreenhouse using: real time sensor readings and historic data, and automated or manual watering, LED lighting and heating control.
http://192.168.1.186/index.html
GNU General Public License v3.0
31 stars 8 forks source link

Website cannot execute functions at the same time as main code is running #13

Closed islasummer closed 5 years ago

islasummer commented 5 years ago

Whilst the main code is running infinitely, the website cannot execute the commands to control the LEDs, water pump or heat mat. We therefore need a way of stopping the main code from executing, so that the website buttons can execute code and then return to the main code.

islasummer commented 5 years ago

This is actually not true.