framework,
kernel,
Machine,
multitasking,
preemptive,
qp,
rtos,
State,
uml
Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.
Download this program as .zip file.
PEdestrian LIght CONtrolled (PELICAN) crossing example for the QP state machine framework. Demonstrates: event-driven programming, hierarchical state machines in C++, preemptive multitasking, software tracing, power saving mode, direct event posting, publish-subscribe.
More information available in the Quantum Leaps Notebook pages. See also state-machine.com.
| bsp.cpp [code] | |
| bsp.h [code] | |
| main.cpp [code] | |
| ped.cpp [code] | |
| pelican.cpp [code] | |
| pelican.h [code] | |
| qp_config.h [code] |