This application is created for learning purpose of Zephyr RTOS on nrf52. nRF52 DK board is used for this project but most of the nRF boards should work seamlessly with this project.
Flow of Application:
- Switch 0 is used to turn on 3 onboard LEDs sequentially.
- Switch 1 is used to turn off 3 onboard LEDs sequentially.
- Push button works with interrupt and fill up Queue.
- Queue is continuosly read by a thread in led file, and it turns on/off leds accordingly.
- Semaphore is used to synchronize both push buttons ISRs and thread.
- Mutex is used for common variables between multiple thread.
nrf52 dk nrf52832 is used to run this application. You can use any similar board from nRF with no issues.