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_inttemp.h@18:be0130c42925, 2015-12-18 (annotated)
- Committer:
- Jan Tetour
- Date:
- Fri Dec 18 20:00:56 2015 +0100
- Revision:
- 18:be0130c42925
- Parent:
- 17:94c385ff2641
Minor formatting changes.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jan Tetour | 18:be0130c42925 | 1 | /* |
Jan Tetour | 18:be0130c42925 | 2 | * TSK_INTTEMP.H |
Jan Tetour | 18:be0130c42925 | 3 | */ |
dzoni | 17:94c385ff2641 | 4 | #ifndef TSK_INTTEMP_H |
dzoni | 17:94c385ff2641 | 5 | #define TSK_INTTEMP_H |
dzoni | 17:94c385ff2641 | 6 | |
dzoni | 17:94c385ff2641 | 7 | struct int_temp_data_struct { |
dzoni | 17:94c385ff2641 | 8 | float temperature; |
dzoni | 17:94c385ff2641 | 9 | }; |
dzoni | 17:94c385ff2641 | 10 | |
dzoni | 17:94c385ff2641 | 11 | extern struct int_temp_data_struct int_temp_data; |
dzoni | 17:94c385ff2641 | 12 | |
dzoni | 17:94c385ff2641 | 13 | extern uint32_t initIntTemp(void const *args); |
dzoni | 17:94c385ff2641 | 14 | extern void inttemp_thread(void const *args); |
dzoni | 17:94c385ff2641 | 15 | |
dzoni | 17:94c385ff2641 | 16 | #endif |