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.
LM61CIZ.cpp
- Committer:
- mbed_Cookbook_SE
- Date:
- 2015-05-17
- Revision:
- 0:8aeec297e67f
File content as of revision 0:8aeec297e67f:
/** * LM61CIZ Temperature sensor library * * @author Junichi Katsu * @version 1.0 * @date 02-April-2015 * */ #include "mbed.h" #include "LM61CIZ.h" LM61CIZ::LM61CIZ(PinName ain) : _sensor(ain) { } float LM61CIZ::getTemperature(void) { return( ( _sensor * 3.3 - 0.6) / 0.01); }