Gas Pressure Display Updated Power control for Pressure sensor added

Dependencies:   UniGraphic mbed vt100

sensors/PSE530.h

Committer:
Rhyme
Date:
2018-02-16
Revision:
0:37c8ecde13c2

File content as of revision 0:37c8ecde13c2:

#ifndef _PSE530_H_
#define _PSE530_H_
#include "mbed.h"

/**
 * PSE530 Pressure Sensor
 */

class PSE530 {
public:
/**
 * Constructor
 */
    PSE530(AnalogIn *ain) ;

/**
 * destructor
 */
    ~PSE530(void) ;
    
/**
 * getPressure
 * @returns float pressure in kgf/cm2
 */
    float getPressure(void) ;
private:
    AnalogIn *_ain ;
} ;

#endif /* _PSE530_H_ */