La Suno / Mbed 2 deprecated afero_poc15_180403R

Dependencies:   UniGraphic mbed vt100

Committer:
Rhyme
Date:
Tue Apr 24 08:58:33 2018 +0000
Revision:
0:0b6732b53bf4
Temporary Connector Reversed Version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Rhyme 0:0b6732b53bf4 1 #ifndef _PSE530_H_
Rhyme 0:0b6732b53bf4 2 #define _PSE530_H_
Rhyme 0:0b6732b53bf4 3 #include "mbed.h"
Rhyme 0:0b6732b53bf4 4
Rhyme 0:0b6732b53bf4 5 /**
Rhyme 0:0b6732b53bf4 6 * PSE530 Pressure Sensor
Rhyme 0:0b6732b53bf4 7 */
Rhyme 0:0b6732b53bf4 8
Rhyme 0:0b6732b53bf4 9 class PSE530 {
Rhyme 0:0b6732b53bf4 10 public:
Rhyme 0:0b6732b53bf4 11 /**
Rhyme 0:0b6732b53bf4 12 * Constructor
Rhyme 0:0b6732b53bf4 13 */
Rhyme 0:0b6732b53bf4 14 PSE530(AnalogIn *ain) ;
Rhyme 0:0b6732b53bf4 15
Rhyme 0:0b6732b53bf4 16 /**
Rhyme 0:0b6732b53bf4 17 * destructor
Rhyme 0:0b6732b53bf4 18 */
Rhyme 0:0b6732b53bf4 19 ~PSE530(void) ;
Rhyme 0:0b6732b53bf4 20
Rhyme 0:0b6732b53bf4 21 /**
Rhyme 0:0b6732b53bf4 22 * getPressure
Rhyme 0:0b6732b53bf4 23 * @returns float pressure in kgf/cm2
Rhyme 0:0b6732b53bf4 24 */
Rhyme 0:0b6732b53bf4 25 float getPressure(void) ;
Rhyme 0:0b6732b53bf4 26 private:
Rhyme 0:0b6732b53bf4 27 AnalogIn *_ain ;
Rhyme 0:0b6732b53bf4 28 } ;
Rhyme 0:0b6732b53bf4 29
Rhyme 0:0b6732b53bf4 30 #endif /* _PSE530_H_ */