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: mbed
Fork of Serial_HelloWorld_Mbed by
Revision 4:299f7c4ecd0c, committed 2016-05-05
- Comitter:
- samuelstradling
- Date:
- Thu May 05 08:44:55 2016 +0000
- Parent:
- 3:283ca911b616
- Commit message:
- Resistor value updates
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue May 03 08:50:30 2016 +0000
+++ b/main.cpp Thu May 05 08:44:55 2016 +0000
@@ -1,13 +1,13 @@
#include "mbed.h"
-#define mBED1
+#define mBED2
#define VCC 3.3
#define B 3984
#define K 273
#define T0 (K+25)
#define R0 10000
-#define TEMP_LIMIT 25
+#define TEMP_LIMIT 35
#ifdef mBED1
#define R1A 10037
@@ -27,8 +27,8 @@
#define R3A 10070
#define R3B 10067
- #define RLOW 80.4
- #define RHIGH 99.3
+ #define RLOW 9.8
+ #define RHIGH 80.4
#endif
Serial pc(USBTX, USBRX); // tx, rx
