Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: compare.h
- Revision:
- 1:135bd458e39e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compare.h Thu May 18 22:34:57 2017 +0000 @@ -0,0 +1,16 @@ +//Author : Olga Hoeyer +//Date : 18 May 2017 +//Version : 2.0 +//Changes: Structure changed to modular, to ease future use of the funktion. +//Copyright : Open for everyone +// +// Description : Analysis part for EDE PRO2 Team 1 project. +//Program takes temperature and humidity as arguments (read from sensors), +//together with lower and higher limit on temperature and evaluate air quality. +//Output is status (int, from 1 to 5). +// +// Usage: Compare_values(float hum, float temp, +// int temperature_low, int temperature_high) + +int Compare_values(float hum, float temp, + int temperature_low, int temperature_high); \ No newline at end of file