Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: UniGraphic mbed vt100
SMTC502AT Class Reference
Semitec 502AT-11 temperature sensor. More...
#include <SMTC502AT.h>
Public Member Functions | |
| SMTC502AT (AnalogIn *ain, float R0=5.0, float R1=4.95, float B=3324, float T0=298.15) | |
| constructor | |
| ~SMTC502AT (void) | |
| destructor | |
| float | getTemp (void) |
| getTemp get temperature | |
Detailed Description
Semitec 502AT-11 temperature sensor.
Definition at line 10 of file SMTC502AT.h.
Constructor & Destructor Documentation
| SMTC502AT | ( | AnalogIn * | ain, |
| float | R0 = 5.0, |
||
| float | R1 = 4.95, |
||
| float | B = 3324, |
||
| float | T0 = 298.15 |
||
| ) |
constructor
- Parameters:
-
*ain AnalogIn object R0 5.0 ohm (default) R1 4.95 ohm (default) B 3324 (default) T0 298.15 (default)
Definition at line 4 of file SMTC502AT.cpp.
| ~SMTC502AT | ( | void | ) |
destructor
Definition at line 13 of file SMTC502AT.cpp.
Member Function Documentation
| float getTemp | ( | void | ) |
getTemp get temperature
getTemp returns the temperature operational temperature is -50C to +105C
- Returns:
- temperature in float format
Definition at line 24 of file SMTC502AT.cpp.
Generated on Tue Jul 12 2022 21:26:07 by
1.7.2