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

Read all sensor in separate threads #10

Closed islasummer closed 5 years ago

islasummer commented 5 years ago

All sensors are currently initialised and read one after the other. It would be far quicker to have three threads to initialise each sensor and to then read each sensor using separate threads. This must also work with the SQL server.