Simple test program to get familiar with functionality of MBED RTOS on ST Nucleo-F411RE. Tasks for LED blinking, user button, temperature measurement with DS1620, temperature measurement with internal temperature sensor of ST32F411RE, ultrasonic distance measurement and displaying result on 16x2 TextLCD.
Dependencies: DS1620_improved TextLCD_improved mbed-rtos mbed
Diff: tsk_button.cpp
- Revision:
- 17:94c385ff2641
- Parent:
- 11:e89f89c0920b
- Child:
- 18:be0130c42925
diff -r cfb774e3e7fc -r 94c385ff2641 tsk_button.cpp --- a/tsk_button.cpp Wed Dec 16 22:37:56 2015 +0000 +++ b/tsk_button.cpp Fri Dec 18 15:23:21 2015 +0000 @@ -18,7 +18,7 @@ led_flash_times.off_time = temp; } - Thread::wait(250); + Thread::wait(500); } }