I2C hang recover function added

Dependencies:   UniGraphic mbed vt100

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers PSE530.h Source File

PSE530.h

00001 #ifndef _PSE530_H_
00002 #define _PSE530_H_
00003 #include "mbed.h"
00004 
00005 /**
00006  * PSE530 Pressure Sensor
00007  */
00008 
00009 class PSE530 {
00010 public:
00011 /**
00012  * Constructor
00013  */
00014     PSE530(AnalogIn *ain) ;
00015 
00016 /**
00017  * destructor
00018  */
00019     ~PSE530(void) ;
00020     
00021 /**
00022  * getPressure
00023  * @returns float pressure in kgf/cm2
00024  */
00025     float getPressure(void) ;
00026 private:
00027     AnalogIn *_ain ;
00028 } ;
00029 
00030 #endif /* _PSE530_H_ */