ds18b20 work for ST Nucleo

Dependencies:   mbed DS1820

Files at this revision

API Documentation at this revision

Comitter:
javiervicente
Date:
Fri Dec 11 12:14:31 2020 +0000
Parent:
2:ffa66d4cd7cf
Commit message:
bueno

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r ffa66d4cd7cf -r 5055285819f7 main.cpp
--- a/main.cpp	Wed Dec 02 19:26:14 2020 +0000
+++ b/main.cpp	Fri Dec 11 12:14:31 2020 +0000
@@ -16,6 +16,7 @@
 int main() 
 {                          
     int  error = 0; 
+    pc.baud(115200);
     
     if(ds1820.begin()) {
         while(1) {