PRO2_Team 1_collected code with ticker and headers_not working yet

Dependencies:   SHTx mbed

Fork of PRO2_samlet_kode by Olga Høyer

compare.h

Committer:
OlgaHoeyer
Date:
2017-06-20
Revision:
11:3ff48fb0aa0b
Parent:
6:12f1849aad21

File content as of revision 11:3ff48fb0aa0b:

/*
-------------------------------------------------------------------------------
-- Project:         PRO2 "Awareness and Optimisation of energy consumption"
-- Team:            Team 1

-- File Name:       compare.h
-- Author:          Olga Hoeyer
-- Date:            18/05-2017
-- Copyright:       Open to all
-- Version:         2.0 - .cpp and .h files are created.
--
-- Description:     Analysis part for EDE PRO2 Team 1.
--                  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 (hum, temp, 
--                        temperature_low, temperature_high)
-------------------------------------------------------------------------------
*/


int Compare_values(float hum, float temp, 
                    int temperature_low, int temperature_high);