Search Code
About qp_pelican

First published 15 Feb 2011, with 4 revisions since.
Last update: 26 Sep 2011.
View history

Last change message: 4.2.04

Import this program

qp_pelican

Published 26 Sep 2011, by   user Quantum Leaps   tag framework, kernel, Machine, multitasking, preemptive, qp, rtos, State, uml

Summary of qp_pelican

How to get this program

Import this program

Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.

Download as .zip

Download this program as .zip file.

Libraries included as part of qp_pelican

Description

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.

Code

bsp.cpp [code]
bsp.h [code]
main.cpp [code]
ped.cpp [code]
pelican.cpp [code]
pelican.h [code]
qp_config.h [code]