gusgonnet
Published © CC BY-NC-SA

Using Finite State Machines

Intro to using FSMs in your IoT projects.

IntermediateProtip5 hours34,106

Things used in this project

Story

Read more

Code

plantUML code of the state machine

Plain text
copy-paste it here: http://www.plantuml.com/plantuml or search for "plantuml online server"
@startuml
skinparam backgroundColor LightYellow
skinparam state {
  BackgroundColor LightBlue
  BorderColor Gray
  FontName Impact
}



OpeningState:
OpeningState -down-> OpenState: opened
OpenState:
OpenState -down-> ClosingState: closing
ClosingState:
ClosingState -up-> CloseState: closed
CloseState:
CloseState -up-> OpeningState: opening
@enduml

Credits

gusgonnet

gusgonnet

37 projects • 306 followers
With a decade of Software Engineering experience in IoT, I focus on creating Particle IoT solutions coupled with mobile and web applications

Comments