Quantum Leaps - innovating embedded systems
  
QP state machine frameworks developer zone

products

Quantum Leaps Cookbook

QP Tutorials
Application Examples
Programming Recipes
Object Oriented Recipes

Science is a collection of successful recipes.
—Paul Valery (1871-1945)

QP Tutorials

QP Tutorials

The online QP Tutorials are designed to get you started with QP quickly!

QP/C Tutorial
(Code for this tutorial is included in the standard QP/C distribution)

QP/C++ Tutorial
(Code for this tutorial is included in the standard QP/C++ distribution)

QP-nano Tutorial
(Code for this tutorial is included in the standard QP-nano distribution)
to topTop of page

Application Examples

Application examples provide step-by-step instructions for designing and coding state machines.


 Dining Philosophers Problem (DPP)

(Code for this example is included in the standard QP/C and QP/C++ distributions and most QDKs)

 Capstone Dive Computer

Code
(2.9MB)

 PEdestrian LIght CONtrolled (PELICAN) crossing

(Code for this example is included in the standard QP-nano distribution and most QDK-nano)
to topTop of page

Programming Recipes

Recipes in this category teach how to apply non-trivial programming techniques in QP.


 Inheriting State Models with QEP/C 4.x

Code
(0.6MB)

 Inheriting State Models with QEP/C++ 4.x

Code
(0.6MB)

Object Oriented Recipes

Object Oriented Programming (OOP) is a fundamental way of design, and not the use of a particular language or a design-automation tool. Here you can learn how to implement the most important OOP concepts in C

Simple Encapsulation and Inheritance in C
"C+"—Object Oriented Programming in C Code
Code
(0.4MB)
to topTop of page

Last updated: September 24, 2008