Drivers for temperature and humidity sensor SHF15. Modified for EDE_PRO2_team1

Dependencies:   SHTx mbed

Fork of PRO2_SHT15_Example by Olga Høyer

main.cpp

Committer:
OlgaHoeyer
Date:
2017-05-18
Revision:
6:d17b645ed2a5
Parent:
5:40f3f713bba0

File content as of revision 6:d17b645ed2a5:

/**
 * Program for reading temperature and humidity from SHT15
 * Modified to fit to EDE Pro2 Team 1 project.
 * Author Olga Høyer
 * Original Copyright (c) 2010 Roy van Dam <roy@negative-black.org>
**/

#include "mbed.h"
#include <get_temp.h>
#include <get_humid.h>

//GLOBAL VARIABLES:
float temp, hum;            //this will be data read from sensor


int main()
{
    temp =GetTemperature();
    hum=GetHumid();
}