Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MPU6050 Grove_temperature
Temperature.h
00001 #ifndef SGAM_MDW_SENSOR_TEMPERATURE_H 00002 #define SGAM_MDW_SENSOR_TEMPERATURE_H 00003 00004 #include "sgam_mdw.h" 00005 #include "mbed.h" 00006 #include "Grove_temperature.h" 00007 00008 class Temperature: Sensor<float> { 00009 public: 00010 Temperature(PinName pin); 00011 virtual ~Temperature(); 00012 00013 virtual int initialize(); 00014 virtual int finalize(); 00015 00016 virtual float* getValue(); 00017 virtual const char* getName(); 00018 00019 private: 00020 Grove_temperature temperature; 00021 }; 00022 #endif
Generated on Fri Jul 15 2022 01:20:42 by
1.7.2