DS1820 Hello World

Dependencies:   DS1820 mbed

Dependents:   BuNuc_DS1820

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Thu Feb 26 22:21:13 2015 +0000
Parent:
1:9100c4c37ad5
Child:
3:f483abe4bc57
Commit message:
Updated libs

Changed in this revision

DS1820.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/DS1820.lib	Mon Feb 16 16:54:07 2015 +0000
+++ b/DS1820.lib	Thu Feb 26 22:21:13 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/Sissors/code/DS1820/#1a3c3002b50c
+http://mbed.org/users/Sissors/code/DS1820/#196e9e54b033
--- a/main.cpp	Mon Feb 16 16:54:07 2015 +0000
+++ b/main.cpp	Thu Feb 26 22:21:13 2015 +0000
@@ -1,5 +1,5 @@
 #define MULTIPLE_PROBES
-#define DATA_PIN        D13
+#define DATA_PIN        A0
 
 
 #ifdef MULTIPLE_PROBES
@@ -22,7 +22,7 @@
     }
     
     printf("Found %d device(s)\r\n\n", num_devices);
-    
+    while(1);
     while(1) {
         probe[0]->convertTemperature(true, DS1820::all_devices);         //Start temperature conversion, wait until ready
         for (int i = 0; i<num_devices; i++)
--- a/mbed.bld	Mon Feb 16 16:54:07 2015 +0000
+++ b/mbed.bld	Thu Feb 26 22:21:13 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/8e73be2a2ac1
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/9ad691361fac
\ No newline at end of file