Professional Documents
Culture Documents
BTL Embedded - Drawio
BTL Embedded - Drawio
Initialization:
Board, Priority, etc
Initialization:
Task, Queue,
Semaphore.
Task 1 Task 2
Initialization Initialization
No No Yes
External
EXTI 5 EXTI 4 EXTI 12
Interrupt?
1 2
Yes Yes Yes light cluster
Receive Queue
UARTprintf()
green light 21s red light 24s
No No No
Flag!=RESET Flag!=RESET Flag!=RESET
1 2 1 2 1 2
light cluster light cluster light cluster
red light 24s yellow 3s
Delay(1000) Delay(1000)
red light: ON green light: ON yellow light: ON yellow light: ON green light: ON red light: ON