FreeRTOS Exercise Lab11
There are two user push buttons on the EK-TM4C123GXL LaunchPad Board. Write a program to light the LEDs:
- Green LED when SW1 is pressed.
- Blue LED when SW2 is pressed.
- Red LED when no key.
Note:
- Derive the project from the FreeRTOS Template Project
- Using Queue(s) send message whenever a key is pressed
- Read from the Queue and accordingly light the LEDs
- Implement key scanning task as periodic task
- Take care of key debouncing
Recent Comments