Seeed Grove Temperature sensor component library

Dependents:   Hello-grove-temperature-sensor Wio_3G_HTTP-POST-example Wio_3G_example sgam-lib ... more

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Mon Aug 06 09:24:54 2018 +0000
Parent:
0:d4056a86ef8c
Commit message:
Code clean up

Changed in this revision

Grove_temperature.cpp Show annotated file Show diff for this revision Revisions of this file
Grove_temperature.h Show annotated file Show diff for this revision Revisions of this file
diff -r d4056a86ef8c -r aee37a51ccbb Grove_temperature.cpp
--- a/Grove_temperature.cpp	Mon Aug 06 09:22:23 2018 +0000
+++ b/Grove_temperature.cpp	Mon Aug 06 09:24:54 2018 +0000
@@ -21,8 +21,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- #include "Grove_temperature.h"
+
+#include "Grove_temperature.h"
 
 Grove_temperature::Grove_temperature(PinName ain)
     : _ain(ain)
diff -r d4056a86ef8c -r aee37a51ccbb Grove_temperature.h
--- a/Grove_temperature.h	Mon Aug 06 09:22:23 2018 +0000
+++ b/Grove_temperature.h	Mon Aug 06 09:24:54 2018 +0000
@@ -20,13 +20,13 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
- 
+
+
 #ifndef MBED_GROVE_TEMPERATURE_H
 #define MBED_GROVE_TEMPERATURE_H
- 
+
 #include "mbed.h"
-  
+
 /**  Interface for controlling grove temerature sensor
  *
  * @code
@@ -46,7 +46,7 @@
  *
  * @endcode
  */
- 
+
 /** Grove_temperature class
  *
  *  Grove_temperature: A library to correct data using Seeed Grove temperature sensor device
@@ -55,30 +55,30 @@
 class Grove_temperature
 {
 public:
- 
+
     /** Create a Grove_temperature instance
      *  which is connected to specified AnalogIn pins
      *
      * @param ain AnalogIn pin
      */
     Grove_temperature(PinName ain);
- 
+
     /** Destructor of Grove_temperature
      */
     virtual ~Grove_temperature();
- 
- 
+
+
     /** Read the current temperature value (degree Celsius) from Grove temperature sensor
      *
      * @return Temperature value (degree Celsius)
      */
     float getTemperature(void);
- 
- 
+
+
 private:
- 
+
     AnalogIn    _ain;
- 
+
 };
- 
+
 #endif // MBED_GROVE_TEMPERATURE_H