La Suno / Mbed 2 deprecated afero_poc15_180403R

Dependencies:   UniGraphic mbed vt100

Files at this revision

API Documentation at this revision

Comitter:
Rhyme
Date:
Tue Apr 24 12:18:10 2018 +0000
Parent:
0:0b6732b53bf4
Commit message:
to adjust with 103AT-11 with 5.1k pull-up, the constructor of 502AT-11 is called with R0=10.0, R1=5.1, B=3435, T0=298.15

Changed in this revision

edge_utils/edge_mgr.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/edge_utils/edge_mgr.cpp	Tue Apr 24 08:58:33 2018 +0000
+++ b/edge_utils/edge_mgr.cpp	Tue Apr 24 12:18:10 2018 +0000
@@ -494,9 +494,9 @@
     }  
 reset_watch_dog() ;    
     an0        = new AnalogIn(PIN_AN0) ;
-    smtc502at0 = new SMTC502AT(an0) ;
+    smtc502at0 = new SMTC502AT(an0, 10.0, 5.1, 3435, 298.15 ) ; /* for 103AT-11 */
     an1        = new AnalogIn(PIN_AN1) ;
-    smtc502at1 = new SMTC502AT(an1) ;
+    smtc502at1 = new SMTC502AT(an1, 10.0, 5.1, 3435, 298.15 ) ; /* for 103AT-11 */
     temp       = new edge_temp(lm75b0, smtc502at0, smtc502at1, lm75b1) ;
     sensor[SENSOR_ID_TEMP]  = temp ;
     sensor[SENSOR_ID_TEMP]->setId(SENSOR_ID_TEMP) ;