Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Organizing Arduino Programs
06-24-2014, 10:27 PM
Post: #1
Organizing Arduino Programs
I am making this thread for people to share their, experience, views regarding organizing Arduino programs as well as techniques to get desired "behaviors" out of our bots.

I have been playing with this library SMLib for a couple days and it seems promising. I tried out several others but they seemed too complicating/overkill.

Post your thoughts!
Find all posts by this user
Quote this message in a reply
06-25-2014, 10:47 PM (This post was last modified: 06-25-2014 11:31 PM by steamboat.)
Post: #2
RE: Organizing Arduino Programs
(06-24-2014 10:27 PM)jmccartney Wrote:  I have been playing with this library SMLib for a couple days and it seems promising. I tried out several others but they seemed too complicating/overkill.

Post your thoughts!
First I did not understand the "SM". After reading the Wikipedia article I found out what's going on here: http://en.wikipedia.org/wiki/Finite-state_machine
In German it is a "Endlicher Automat" http://de.wikipedia.org/wiki/Endlicher_Automat

Maybe this library can save you a lot of "if" and "switch" structures.

Some more input about state machines
http://www.ni.com/white-paper/3024/en/

Rainer
http://www.steamboating.de
Visit this user's website Find all posts by this user
Quote this message in a reply
06-25-2014, 11:57 PM
Post: #3
RE: Organizing Arduino Programs
Examples of simple state machines. Helped me to reveal the Woodo Secret about "State Machines".

http://gammon.com.au/statemachine

Rainer
http://www.steamboating.de
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)