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
00001 /** 00002 * LM61CIZ Temperature sensor library 00003 * 00004 * @author Junichi Katsu 00005 * @version 1.0 00006 * @date 02-April-2015 00007 * 00008 */ 00009 00010 #include "mbed.h" 00011 #include "LM61CIZ.h" 00012 00013 LM61CIZ::LM61CIZ(PinName ain) : _sensor(ain){ 00014 } 00015 00016 float LM61CIZ::getTemperature(void) { 00017 return( (_sensor * 3.3 - 0.6) / 0.01 ); 00018 }
Generated on Fri Jul 22 2022 05:28:45 by
1.7.2