2015年6月10日水曜日

HW#6 Create Two Tasks and an Interrupt Handler (ISR)

HW#6 Create Two Tasks and an Interrupt Handler (ISR)

Create two tasks and an interrupt handler (ISR)
Task#1 should perform the following in a loop:
delay (sleep) for about 200 ms
send five messages in a queue#1 (to ISR())
generate an sw interrupt
ISR should perform the following:
receive all the messages from queue#1
modify each message and send them on queue#2
Task#2 should perform the following in a loop:
receive each item from queue#2

print the value out

0 件のコメント:

コメントを投稿