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:
- 11:e89f89c0920b
- Parent:
- 9:645f0e517017
- Child:
- 17:94c385ff2641
diff -r e21d1da3b900 -r e89f89c0920b tsk_button.cpp --- a/tsk_button.cpp Mon Dec 14 11:36:34 2015 +0000 +++ b/tsk_button.cpp Mon Dec 14 17:15:29 2015 +0000 @@ -7,7 +7,7 @@ static DigitalIn button1(USER_BUTTON); -void ubutton_thread(void const *args) { +void button_thread(void const *args) { static uint32_t last_state = button1; uint32_t temp;