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 _SMTC502AT_H_
Rhyme 0:774324cbc5a6 2 #define _SMTC502AT_H_
Rhyme 0:774324cbc5a6 3
Rhyme 0:774324cbc5a6 4 #include "mbed.h"
Rhyme 0:774324cbc5a6 5
Rhyme 0:774324cbc5a6 6 /**
Rhyme 0:774324cbc5a6 7 * Semitec 502AT-11 temperature sensor
Rhyme 0:774324cbc5a6 8 */
Rhyme 0:774324cbc5a6 9
Rhyme 0:774324cbc5a6 10 class SMTC502AT {
Rhyme 0:774324cbc5a6 11 public:
Rhyme 0:774324cbc5a6 12 /**
Rhyme 0:774324cbc5a6 13 * constructor
Rhyme 0:774324cbc5a6 14 * @param *ain AnalogIn object
Rhyme 0:774324cbc5a6 15 * @param R0 5.0 ohm (default)
Rhyme 0:774324cbc5a6 16 * @param R1 4.95 ohm (default)
Rhyme 0:774324cbc5a6 17 * @param B 3324 (default)
Rhyme 0:774324cbc5a6 18 * @param T0 298.15 (default)
Rhyme 0:774324cbc5a6 19 */
Rhyme 0:774324cbc5a6 20 SMTC502AT(AnalogIn *ain, float R0=5.0, float R1=4.95, float B=3324, float T0=298.15) ;
Rhyme 0:774324cbc5a6 21
Rhyme 0:774324cbc5a6 22 /**
Rhyme 0:774324cbc5a6 23 * destructor
Rhyme 0:774324cbc5a6 24 */
Rhyme 0:774324cbc5a6 25 ~SMTC502AT(void) ;
Rhyme 0:774324cbc5a6 26
Rhyme 0:774324cbc5a6 27 /**
Rhyme 0:774324cbc5a6 28 * getTemp get temperature
Rhyme 0:774324cbc5a6 29 * @returns temperature in float format
Rhyme 0:774324cbc5a6 30 */
Rhyme 0:774324cbc5a6 31 float getTemp(void) ;
Rhyme 0:774324cbc5a6 32 private:
Rhyme 0:774324cbc5a6 33 AnalogIn *_ain ;
Rhyme 0:774324cbc5a6 34 float _r0 ;
Rhyme 0:774324cbc5a6 35 float _r1 ;
Rhyme 0:774324cbc5a6 36 float _b ;
Rhyme 0:774324cbc5a6 37 float _t0 ;
Rhyme 0:774324cbc5a6 38 } ;
Rhyme 0:774324cbc5a6 39
Rhyme 0:774324cbc5a6 40 #endif /* _SMTC502AT_H_ */