Wataru Wakutsu / LM61CIZ
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 public:
00021     /** Create a LM61CIZ instance
00022      *
00023      * param AnalogIn pin
00024      *
00025      */
00026     LM61CIZ(PinName ain);
00027     
00028     /** Read the current temperature value from LM61CIZ sensor
00029      *
00030      */
00031     float getTemperature(void);
00032 private:
00033  
00034     AnalogIn _sensor;
00035 };
00036 
00037 #endif // MBED_LM61CIZ_H
00038