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
Revision 18:be0130c42925, committed 2015-12-18
- Comitter:
- Jan Tetour
- Date:
- Fri Dec 18 20:00:56 2015 +0100
- Parent:
- 17:94c385ff2641
- Commit message:
- Minor formatting changes.
Changed in this revision
--- a/tsk_button.cpp Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_button.cpp Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_BUTTON.CPP + */ #include "mbed.h" #include "rtos.h"
--- a/tsk_button.h Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_button.h Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_BUTTON.H + */ #ifndef TSK_BUTTON_H #define TSK_BUTTON_H
--- a/tsk_display.cpp Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_display.cpp Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_DISPLAY.CPP + */ #include "mbed.h" #include "rtos.h" @@ -63,4 +66,4 @@ Thread::wait(2000); } -} \ No newline at end of file +}
--- a/tsk_display.h Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_display.h Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_DISPLAY.H + */ #ifndef TSK_DISPLAY_H #define TSK_DISPLAY_H
--- a/tsk_dist.cpp Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_dist.cpp Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_DIST.CPP + */ #include "mbed.h" #include "rtos.h"
--- a/tsk_dist.h Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_dist.h Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_DIST.H + */ #ifndef TSK_DIST_H #define TSK_DIST_H
--- a/tsk_inttemp.cpp Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_inttemp.cpp Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_INTTEMP.CPP + */ #include "mbed.h" #include "rtos.h" #include "stm32f411xe.h"
--- a/tsk_inttemp.h Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_inttemp.h Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_INTTEMP.H + */ #ifndef TSK_INTTEMP_H #define TSK_INTTEMP_H
--- a/tsk_led.cpp Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_led.cpp Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_LED.CPP + */ #include "mbed.h" #include "rtos.h"
--- a/tsk_led.h Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_led.h Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_LED.H + */ #ifndef TSK_LED_H #define TSK_LED_H
--- a/tsk_main.cpp Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_main.cpp Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_MAIN.CPP + */ #include "mbed.h" #include "rtos.h" @@ -70,4 +73,4 @@ disposeDisplay(NULL); } - \ No newline at end of file +
--- a/tsk_main.h Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_main.h Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_MAIN.H + */ #ifndef TSK_MAIN_H #define TSK_MAIN_H
--- a/tsk_temp.cpp Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_temp.cpp Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_TEMP.CPP + */ #include "mbed.h" #include "rtos.h"
--- a/tsk_temp.h Fri Dec 18 15:23:21 2015 +0000 +++ b/tsk_temp.h Fri Dec 18 20:00:56 2015 +0100 @@ -1,3 +1,6 @@ +/* + * TSK_TEMP.H + */ #ifndef TSK_TEMP_H #define TSK_TEMP_H