SMALL OS with Atmega32.
ฝัง
- เผยแพร่เมื่อ 28 ก.ย. 2024
- SMALL OS with Atmega32 is a small schedule as sample of RTOS Idea
Scheduler Needs to Run every 500 msec, and it calls the task.
that needs to Run, three tasks each one has pointer to function to it.
----------------------------------------------------------------------------------------------------------------------
Task1: blinks RED LED every 1 sec
Task 2: monitor PB1 state if it is pressed, toggle BLUE LED, every 500 msec.
Task 3: blink the Green LED every 3sec.