Pages: 1 [2]   Go Down
Author Topic: Finite State Machine Using Switch Statement.  (Read 6762 times)
0 Members and 1 Guest are viewing this topic.
Malaysia
Offline Offline
Sr. Member
****
Karma: 7
Posts: 393
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

as a sign of my appriciation i give every one that reply to this post an approud
Logged

0
Offline Offline
Edison Member
*
Karma: 7
Posts: 1235
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found this nice/easy example to get started with

http://digital-diy.com/general-programming/finite-state-machines.html
Logged


Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17262
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
one thing about PLC is that every thing is represented with HIGH and LOW. which really help. with arduino the possibility to represent something as HIGH and LOW and everything in between,

You must have never worked with a PLC having analog input modules as they are available and often used to read industrial 4-20ma current loops?

Lefty

Logged

Malaysia
Offline Offline
Sr. Member
****
Karma: 7
Posts: 393
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i had once used analog input for PLC but only once and i really didnt get the chance to explore its capability and Analog input is such a premium that most company prefer using only the digital IO
Logged

Calgary, AB
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Freeduino Bambino Cappuccino, baby!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Jack Christensen: Not sure if you found the software, but I recognize it as "Graphviz". Text-based descriptions make the graphics, and it's very cool.

www.graphviz.org/content/fsm
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3955
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Jack Christensen: Not sure if you found the software, but I recognize it as "Graphviz". Text-based descriptions make the graphics, and it's very cool.

www.graphviz.org/content/fsm

Very cool, thank you!
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Pages: 1 [2]   Go Up
Jump to: