Loading...
Pages: 1 [2]   Go Down
Author Topic: Finite State Machine Using Switch Statement.  (Read 976 times)
0 Members and 1 Guest are viewing this topic.
Malaysia
Offline Offline
Sr. Member
****
Karma: 7
Posts: 385
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
God Member
*****
Karma: 6
Posts: 918
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: 279
Posts: 15316
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: 385
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

Pages: 1 [2]   Go Up
Print
 
Jump to: