Junichi Katsu / LM61CIZ

Dependents:   UltraSound_sensor

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LM61CIZ.h Source File

LM61CIZ.h

00001 /**
00002  *  LM61CIZ Temperature sensor library
00003  *
00004  *  @author  Junichi Katsu
00005  *  @version 1.0
00006  *  @date    02-April-2015
00007  *
00008  */
00009  
00010 #ifndef MBED_LM61CIZ_H
00011 #define MBED_LM61CIZ_H
00012  
00013 #include "mbed.h"
00014 
00015 /** LM61CIZ class
00016  *  @endcode
00017  */
00018  
00019 class LM61CIZ
00020 {
00021 public:
00022     /** Create a LM61CIZ instance
00023      *
00024      * @param AnalogIn pin
00025      */
00026     LM61CIZ(PinName ain);
00027     
00028     /** Read the current temperature value from LM61CIZ sensor
00029      *
00030      */
00031     float getTemperature(void);
00032     
00033 private:
00034  
00035     AnalogIn _sensor;
00036 };
00037  
00038 #endif // MBED_LM61CIZ_H