Release candidate version. The pointer in GAS Pressure display is changed to a triangle.

Dependencies:   UniGraphic mbed vt100

Please note, at 2-Mar-2018 the current version of mbed-lib has a defect in Ticker.
https://os.mbed.com/forum/bugs-suggestions/topic/29287/

So, mbed lib version 157 is intentionally being used.
Please do not update mbed library until the problem in the above URL is fixed.

In this version, format of GAS Pressure Display has been changed.
/media/uploads/Rhyme/low.jpg

/media/uploads/Rhyme/good.jpg

/media/uploads/Rhyme/high.jpg

moto

Committer:
Rhyme
Date:
Fri Mar 02 07:56:09 2018 +0000
Revision:
0:774324cbc5a6
Release candidate version. GAS Pressure pointer is now a triangle.; Some source file clean-up was done.

Who changed what in which revision?

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