Change 1wire pin to A8 as it's 5V tolerant
Dependencies: DS1820 mbed-STM32F103C8T6 mbed
Fork of stm32f103c8t6-ds18b20 by
Diff: main.cpp
- Revision:
- 16:4db317017f49
- Parent:
- 13:c91214d92d70
--- a/main.cpp Mon Jan 15 03:53:28 2018 +0000 +++ b/main.cpp Thu Jan 18 04:05:12 2018 +0000 @@ -2,7 +2,7 @@ #include "mbed.h" #include "DS1820.h" -#define DATA_PIN PA_7 +#define DATA_PIN PA_8 int main() { DS1820 probe(DATA_PIN);