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_inttemp.h
- Revision:
- 17:94c385ff2641
- Child:
- 18:be0130c42925
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tsk_inttemp.h Fri Dec 18 15:23:21 2015 +0000 @@ -0,0 +1,13 @@ +#ifndef TSK_INTTEMP_H +#define TSK_INTTEMP_H + +struct int_temp_data_struct { + float temperature; +}; + +extern struct int_temp_data_struct int_temp_data; + +extern uint32_t initIntTemp(void const *args); +extern void inttemp_thread(void const *args); + +#endif