DS18b20 example
Dependencies: DS1820 mbed-STM32F103C8T6 mbed
Diff: main.cpp
- Revision:
- 3:f483abe4bc57
- Parent:
- 2:d644c874ea0c
- Child:
- 5:0281a22f3cc7
--- a/main.cpp Thu Feb 26 22:21:13 2015 +0000 +++ b/main.cpp Sat Feb 28 15:07:09 2015 +0000 @@ -22,7 +22,6 @@ } 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++)