Drivers for temperature and humidity sensor SHF15. Modified for EDE_PRO2_team1

Dependencies:   SHTx mbed

Fork of PRO2_SHT15_Example by Olga Høyer

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 /**
00002  * Program for reading temperature and humidity from SHT15
00003  * Modified to fit to EDE Pro2 Team 1 project.
00004  * Author Olga Høyer
00005  * Original Copyright (c) 2010 Roy van Dam <roy@negative-black.org>
00006 **/
00007 
00008 #include "mbed.h"
00009 #include <get_temp.h>
00010 #include <get_humid.h>
00011 
00012 //GLOBAL VARIABLES:
00013 float temp, hum;            //this will be data read from sensor
00014 
00015 
00016 int main()
00017 {
00018     temp =GetTemperature();
00019     hum=GetHumid();
00020 }
00021