Categories

QP state machine framework for Arduino

Posted on Monday, February 21st, 2011 in Arduino, code, documentation by the machinegeek

Quantum Leaps has released his QP state machine framework for Arduino. He says:

QP is a lightweight, open source, state machine framework for microcontrollers such as Arduino. QP enables you to build well-structured and power-efficient event-driven programs as systems of concurrently executing state machines (UML statecharts). You can think of QP as a modern real-time operating system (RTOS) specifically designed for executing state machines. The QP framework does everything you can expect from a traditional RTOS, only more efficiently, plus many things an RTOS can’t do at all.

Essentially QP focuses on an event driven programming model as opposed to the sequential model of conventional Arduino programs. The libraries and examples are open source. A QM Modeling and code generation tool is also available as a free download, but is not open source.

A zip file download contains source code libraries, examples and documentation.

This entry was posted on Monday, February 21st, 2011 at 5:22 pm and is filed under Arduino, code, documentation. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • ian: No, that's exactly how it should be :) Sorry about missing names on comments, the theme is being reworked as we speak.
  • J. Peterson: Nice writeup. It looks like some of the formatting for your command examples needs some missing newlines?
  • Geert Jordaens: I'm not sure what kind of licensing I have to add since it is a fairly straight forward implementation of the adaptive Huffman Decoding. For...
  • erich: For anyone interested, I've added some c++ code for adaptive huffman decoding in the git repository.
  • Sjaak: I would add some more protection in the used trigger file (on the serverpilot site) then not using a standard name :) hopefully they use...