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.
Dependents: Thermometer TMP36_Anlog_temperature_read
LM61 Class Reference
Get temperature from LM61 class. More...
#include <LM61.h>
Public Member Functions | |
| LM61 (PinName lm61, float vcc=3.3f) | |
| A constructor of LM61 class. | |
| float | GetTemp () |
| Get temperature from LM61. | |
Detailed Description
Get temperature from LM61 class.
Example:
#include "LM61.h" #include "mbed.h" LM61 lm61(dp4, 3.0f); Serial pc(USBTX, USBRX); int main() { float temp; while(1) { temp = lm61.GetTemp(); pc.printf("Temperature : %5.1fdeg\n", temp); wait(1); } }
Definition at line 44 of file LM61.h.
Constructor & Destructor Documentation
| LM61 | ( | PinName | lm61, |
| float | vcc = 3.3f |
||
| ) |
Member Function Documentation
Generated on Fri Jul 15 2022 02:00:59 by
1.7.2