Restructured lessons and made them standalone with all dependencies provided with every download. Provided README.md files. |
1 year ago | |
|---|---|---|
| .. | ||
| EventRecorderStub.scvd | 1 year ago | |
| README.md | 2 years ago | |
| TimeBomb.qm | 2 years ago | |
| app_cfg.h | 2 years ago | |
| bsp.c | 2 years ago | |
| lesson.sct | 1 year ago | |
| lesson.uvoptx | 1 year ago | |
| lesson.uvprojx | 1 year ago | |
| main.c | 2 years ago | |
| os_cfg.h | 2 years ago | |
| qassert.h | 2 years ago | |
| uc_ao.c | 2 years ago | |
| uc_ao.h | 2 years ago | |
README.md
Brought to you by:
About this example:
This is a model of a "TimeBomb" presented in lesson #39 "Optimal State Machine Implementation in C of the "Modern Embedded Programming" video course.
The "TimeBomb" state machine is independent from any specific board, but assumes the presence of a few LEDs, which are controlled via a BSP (Board Support Package)
This example demonstrates:
- Active object (TimeBomb) with state machine
- Board Support Package abstraction for portability
TimbeBomb state machine
The TimeBomb state machine has been drawn in the freeware QM modeling tool:
Building the example:
To build this example, you will need the QP/C framework installed on your computer and the KEIL uVision toolset (could be the free edition).
Running the example:
This example can be run on the TivaC LaunchPad board, but should be also easy to port to other boards.
For more QM examples for QP/C see: https://www.state-machine.com/qpc/exa.html
How to Help this Project?
If you like this project, please give it a star (in the upper-right corner of your browser window):


