Drivers for temperature and humidity sensor SHF15. Modified for EDE_PRO2_team1
Fork of PRO2_SHT15_Example by
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
Generated on Mon Jul 18 2022 01:27:18 by 1.7.2