PRO2_Team 1_collected code with ticker_not working yet

Dependencies:   SHTx mbed

Fork of PRO2_samlet_kode by Software hold - Team 1 - PRO2 2017

compare.h

Committer:
OlgaHoeyer
Date:
2017-05-24
Revision:
5:b366110c0d59
Parent:
1:135bd458e39e

File content as of revision 5:b366110c0d59:

//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);