SparkFun Support and Front Desk will be closed on Thursday 11/14 from 1-2:30pm for a company event. Please plan to pick up your orders before or after this timeframe.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
February 26, 2012
News - Enginursday: Doing Away w…
about 4 years ago
One of your articles inspired me to write a fairly extensive framework for creating state machine based sketches called 'Automaton'. It can be installed via the Arduino library manager or found at:
Documentation and tutorial:
Unlike the other Arduino state machine libraries it uses a table driven state machine concept in which every machine is an self contained object
It allows you to define state machines that can be shared as stand alone Arduino libraries (dependent only upon Automaton)
It comes with a collection of predefined reusable state machines for handling buttons, blinking and fading leds, detecting pulses, monitoring analog inputs, timers and receiving commands over serial communications.
State machines can communicate with each other via messaging queues.
I just published a state machine based framework for Arduino called Automaton that can do this kind of thing very elegantly as well. I guess it could fit your round hole a little better.
Have a look on github if you're interested: https://github.com/tinkerspy/Automaton (docs in the github wiki)
A Sparkfun article on state machines was one of the things that inspired me.
No public wish lists :(
Forgot your password?
No account? Register one!