×

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.

Member #304820

Member Since: February 26, 2012

Country: United States

  • 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:

    https://github.com/tinkerspy/Automaton

    Documentation and tutorial:

    https://github.com/tinkerspy/Automaton/wiki

    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 :(