An example of how to communicate with 1Wire devices from the STM32F103C8T6 (on the cheap "Bluepill" board)

Dependencies:   DS1820 mbed-STM32F103C8T6 mbed

Fork of STM32F103C8T6_Hello by Zoltan Hudak

Revision:
13:c91214d92d70
Parent:
12:c11b1e5546b0
--- a/main.cpp	Thu Jan 11 04:38:02 2018 +0000
+++ b/main.cpp	Fri Jan 12 00:38:09 2018 +0000
@@ -9,7 +9,7 @@
     
     while(1) {
         printf("Initiating temperature conversion\r\n");
-        probe.convertTemperature(true, DS1820::all_devices);         //Start temperature conversion, wait until ready
+        probe.convertTemperature(true, DS1820::this_device);         //Start temperature conversion, wait until ready
         double temperature = probe.temperature();
         int temp_integer = temperature;
         int temp_milli = (temperature - temp_integer) * 1000;