La Suno / Mbed 2 deprecated afero_poc15_180413

Dependencies:   UniGraphic mbed vt100

Committer:
Rhyme
Date:
Mon Jun 18 01:56:00 2018 +0000
Revision:
1:8d65cfc3a2e2
Parent:
0:846e2321c637
External sensor power on/off function enabled. (Previously disabled)

Who changed what in which revision?

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