simple temperature sensor
Dependents: HARP2 HARP3 Thermostat_NucleoF401 4180Lab4_p1 ... more
Revision 8:2b0feb7bdebc, committed 2012-09-20
- Comitter:
- tylerjw
- Date:
- Thu Sep 20 23:33:38 2012 +0000
- Parent:
- 7:9a916a3a059f
- Commit message:
- 0.9
Changed in this revision
TMP36GZ.cpp | Show annotated file Show diff for this revision Revisions of this file |
TMP36GZ.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9a916a3a059f -r 2b0feb7bdebc TMP36GZ.cpp --- a/TMP36GZ.cpp Thu Sep 20 23:32:12 2012 +0000 +++ b/TMP36GZ.cpp Thu Sep 20 23:33:38 2012 +0000 @@ -1,8 +1,4 @@ -/** -* @author Tyler Weaver -* -* @section LICENSE -* +/* * Copyright (c) 2012 Tyler Weaver, MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software @@ -20,22 +16,6 @@ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -* -* @section DESCRIPTION -* -* C++ file for TMP36GZ temperature sensor library -* -* /----\ -* |1 2 3 | -* -------- -* -* 1 - Vs, connect 3.3V (Vout) -* 2 - Vout - connect to input pin -* 3 - GND - connect to ground -* -* 750mV = 25 deg/C -* -* 10mV / deg/C */ #include "TMP36GZ.h"
diff -r 9a916a3a059f -r 2b0feb7bdebc TMP36GZ.h --- a/TMP36GZ.h Thu Sep 20 23:32:12 2012 +0000 +++ b/TMP36GZ.h Thu Sep 20 23:33:38 2012 +0000 @@ -40,6 +40,22 @@ * } * } * @endcode +* +* @section DESCRIPTION +* +* C++ file for TMP36GZ temperature sensor library +* +* /----\ +* |1 2 3 | +* -------- +* +* 1 - Vs, connect 3.3V (Vout) +* 2 - Vout - connect to input pin +* 3 - GND - connect to ground +* +* 750mV = 25 deg/C +* +* 10mV / deg/C */ class TMP36GZ