DS1820

Dependencies:   LinkedList

Fork of DS1820 by Erik -

Files at this revision

API Documentation at this revision

Comitter:
Yo_Robot
Date:
Wed Jan 11 15:52:51 2017 +0000
Parent:
13:51a5011dc0ad
Commit message:
changed error() for printf()

Changed in this revision

DS1820.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/DS1820.cpp	Mon Mar 09 20:41:08 2015 +0000
+++ b/DS1820.cpp	Wed Jan 11 15:52:51 2017 +0000
@@ -13,7 +13,7 @@
         RAM[byte_counter] = 0x00;
     
     if (!unassignedProbe(&_datapin, _ROM))
-        error("No unassigned DS1820 found!\n");
+        printf("No unassigned DS1820 found!\n");
     else {
         _datapin.input();
         probes.append(this);