Introduction - If you have any usage issues, please Google them yourself
IAR environment in programming to achieve the following requirements (1) two external interrupt EINTB (KEY1), EINTC (KEY2), three tasks A, B, C, from low to high priority. (2) A task group each time you run make the first digital value increase, calling the delay function for the 1s (3) B task waiting for semaphore bsem (initial value 0), interrupt INTB trigger the sending semaphore bsem . The task runs once each second set of digital control makes the value increase, calling the delay function 0.5s (4) C task waiting for semaphore csem (initial value 0), interrupt INTC amount csem send the trigger signal, the so each time you run a task light-emitting diode flashes, called the delay function for the 0.1s