Nucleo F042K6 PWM, LCD and DS1820 not working correctly. PWM conflicts with DS1820 timings.
Dependencies: mbed TextLCD DS1820
Diff: main.cpp
- Revision:
- 7:a08b726d5566
- Parent:
- 6:4e6ec83d3c83
--- a/main.cpp Wed Sep 13 11:30:50 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#include "mbed.h" - -DigitalOut myled(LED1); - -int main() { - while(1) { - myled = 1; // LED is ON - wait(0.2); // 200 ms - myled = 0; // LED is OFF - wait(1.0); // 1 sec - } -}