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
tsk_main.h@17:94c385ff2641, 2015-12-18 (annotated)
- Committer:
- dzoni
- Date:
- Fri Dec 18 15:23:21 2015 +0000
- Revision:
- 17:94c385ff2641
- Parent:
- 10:e21d1da3b900
- Child:
- 18:be0130c42925
Bugfixes. Works but freezes after some time. Button task requires rewrite (InterruptIn).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dzoni | 10:e21d1da3b900 | 1 | #ifndef TSK_MAIN_H |
dzoni | 10:e21d1da3b900 | 2 | #define TSK_MAIN_H |
dzoni | 10:e21d1da3b900 | 3 | |
dzoni | 17:94c385ff2641 | 4 | extern Mutex mutexDist; |
dzoni | 17:94c385ff2641 | 5 | extern Mutex mutexTemp; |
dzoni | 17:94c385ff2641 | 6 | extern Mutex mutexIntTemp; |
dzoni | 17:94c385ff2641 | 7 | |
dzoni | 10:e21d1da3b900 | 8 | extern uint32_t uiCnt; |
dzoni | 10:e21d1da3b900 | 9 | |
dzoni | 10:e21d1da3b900 | 10 | #endif |