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.
Dependencies: UniGraphic mbed vt100
Revision 1:6c54dc8acf96, committed 2018-04-24
- 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) ;