Simple DS1820 sensor demo showing how to use the DS1820 library [https://developer.mbed.org/users/hudakz/code/DS1820/]

Dependencies:   DS1820

Revision:
5:4f7330bb1b64
Parent:
4:d263a2860484
Child:
6:d68db387a734
--- a/main.cpp	Sun Jan 20 10:13:38 2019 +0000
+++ b/main.cpp	Mon Jan 21 11:40:17 2019 +0000
@@ -11,7 +11,7 @@
 
 Serial      pc(USBTX, USBRX);
 DigitalOut  led(LED1);
-DS1820      ds1820(p8);    // substitute p8 with actual mbed pin name connected to the DS1820 data pin    
+DS1820      ds1820(PB_9);    // substitute p8 with actual mbed pin name connected to the DS1820 data pin    
 float       temp = 0;
 int         result = 0;