PRO2_Team 1_collected code with ticker_not working yet
Fork of PRO2_samlet_kode by
compare.h@5:b366110c0d59, 2017-05-24 (annotated)
- Committer:
- OlgaHoeyer
- Date:
- Wed May 24 09:34:54 2017 +0000
- Revision:
- 5:b366110c0d59
- Parent:
- 1:135bd458e39e
included settings og logging, rettet tickers syntax, not working yet.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
OlgaHoeyer | 1:135bd458e39e | 1 | //Author : Olga Hoeyer |
OlgaHoeyer | 1:135bd458e39e | 2 | //Date : 18 May 2017 |
OlgaHoeyer | 1:135bd458e39e | 3 | //Version : 2.0 |
OlgaHoeyer | 1:135bd458e39e | 4 | //Changes: Structure changed to modular, to ease future use of the funktion. |
OlgaHoeyer | 1:135bd458e39e | 5 | //Copyright : Open for everyone |
OlgaHoeyer | 1:135bd458e39e | 6 | // |
OlgaHoeyer | 1:135bd458e39e | 7 | // Description : Analysis part for EDE PRO2 Team 1 project. |
OlgaHoeyer | 1:135bd458e39e | 8 | //Program takes temperature and humidity as arguments (read from sensors), |
OlgaHoeyer | 1:135bd458e39e | 9 | //together with lower and higher limit on temperature and evaluate air quality. |
OlgaHoeyer | 1:135bd458e39e | 10 | //Output is status (int, from 1 to 5). |
OlgaHoeyer | 1:135bd458e39e | 11 | // |
OlgaHoeyer | 1:135bd458e39e | 12 | // Usage: Compare_values(float hum, float temp, |
OlgaHoeyer | 1:135bd458e39e | 13 | // int temperature_low, int temperature_high) |
OlgaHoeyer | 1:135bd458e39e | 14 | |
OlgaHoeyer | 1:135bd458e39e | 15 | int Compare_values(float hum, float temp, |
OlgaHoeyer | 1:135bd458e39e | 16 | int temperature_low, int temperature_high); |