Sample example of using EventFlags in mbed-os threads
Dependencies: IHM_V2
Purpose: Sample example of using EventFlags in mbed-os threads
that trigger a thread thrgough its EventFlags. Target: L432KC / Nboard (from IUT-Cachan) Tested: YES (2019-01-09) Author: Jacques-Olivier Klein - IUT de CACHAN Date: 2018-02-10 rev. 2019-01-09 OS_STACK_SIZE=4096 Libraries: mbed-os rev5345:c966348(03jan2019) + IHMV2 (from IUT-Cachan) rev6:ad91067
Diff: main.cpp
- Revision:
- 32:88edbd7e31e3
- Parent:
- 31:2afcd3a7b307
- Child:
- 33:ebb57af47121
--- a/main.cpp Wed Jan 09 12:25:49 2019 +0000 +++ b/main.cpp Wed Jan 09 12:32:58 2019 +0000 @@ -31,8 +31,8 @@ int main(void) { ihm.LCD_clear(); - ihm.LCD_printf("signal%s %s",__DATE__,__TIME__); - printf("\n\rmbed-os-signal\n\r"); + ihm.LCD_printf("Events%s %s",__DATE__,__TIME__); + printf("\n\rmbed-os-eventflags\n\r"); printf("\n\r%s - %s\n\r",__DATE__,__TIME__); printf("OS_STACK_SIZE:%d\n\r", OS_STACK_SIZE); BP0Interrupt.mode(PullUp);