Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ESP, removed unneeded file #24

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ee31d21
removed duplicate FSM.cpp in examples/
LennartHennigs Mar 22, 2018
29ca629
added "esp8266" to architecture
LennartHennigs Mar 22, 2018
964aa07
removed redundant code redundancy
LennartHennigs Mar 22, 2018
be0cdc8
added.run_machine() call to loop, as it is needed
LennartHennigs Mar 27, 2018
6027b8c
added function names
Mar 27, 2018
1cabd02
use internal LED in example
Mar 27, 2018
60c9702
moved library files to separate folder, made optional state and trans…
LennartHennigs Mar 28, 2018
9673586
moved library files to separate folder
LennartHennigs Mar 28, 2018
338ea26
removed NULL values as optionals parameters, added pull_up constant …
LennartHennigs Mar 28, 2018
e15bebd
removed NULL values for optional parameters
LennartHennigs Mar 28, 2018
be0f70d
removed NULL values from optional parameters
LennartHennigs Mar 28, 2018
42aecf9
formatting
LennartHennigs Mar 28, 2018
f2fceeb
formatted code
LennartHennigs Mar 30, 2018
58b2d11
added serial delay and setup() status messages
LennartHennigs Mar 30, 2018
d0d13bd
formatted code
LennartHennigs Mar 30, 2018
2b16f5d
added .dot graphviz syntax generation, added mandatory names for sta…
LennartHennigs Apr 1, 2018
d14f704
fixed spacing
LennartHennigs Apr 1, 2018
1cd6c07
added labels to states, added dot syntax output to Serial
LennartHennigs Apr 1, 2018
8f0c415
1st commit - creates a webserver to display the fsm diagram
LennartHennigs Apr 1, 2018
1a60822
fixed spacing
LennartHennigs Apr 1, 2018
4463fa3
updated changelog
LennartHennigs Apr 1, 2018
a452330
fixed typo
LennartHennigs Apr 1, 2018
571c4bc
Merge branch 'jonblack:master' into master
LennartHennigs Apr 15, 2022
17a0ad7
added .DS_Store and .vscode
LennartHennigs Apr 15, 2022
6610f1f
Delete .DS_Store
LennartHennigs Apr 15, 2022
036246c
Delete .DS_Store
LennartHennigs Apr 15, 2022
8468c91
added unique IDs to states
LennartHennigs Apr 15, 2022
00c5657
added unique ids
LennartHennigs Apr 15, 2022
9c98ea4
Merge branch 'master' of https://github.com/LennartHennigs/arduino-fsm
LennartHennigs Apr 15, 2022
b440c9a
added change discussed in #22
LennartHennigs Apr 15, 2022
6e2a3c6
added transition titles & explained node naming
LennartHennigs Apr 15, 2022
4348dd0
fixed typo
LennartHennigs Apr 15, 2022
c5f2e7e
added recent changes
LennartHennigs Apr 15, 2022
3e544cc
fixed typo
LennartHennigs Apr 15, 2022
92673d3
fixed typo
LennartHennigs Apr 15, 2022
40d46a6
fixed typo
LennartHennigs Apr 15, 2022
1cf7735
updated state display in dot file
LennartHennigs Apr 17, 2022
0221a31
updated list of changes
LennartHennigs Apr 17, 2022
20d3473
fixed node decr.
LennartHennigs Apr 18, 2022
a0a45ae
updated example to show both types of transitions
LennartHennigs Apr 18, 2022
1bd91a3
Update README.md
LennartHennigs Jul 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,3 +1,6 @@
.DS_Store
.vscode

# Binaries
testpix
pix
Expand Down
174 changes: 0 additions & 174 deletions Fsm.cpp

This file was deleted.

85 changes: 0 additions & 85 deletions Fsm.h

This file was deleted.

26 changes: 25 additions & 1 deletion README.md
@@ -1,3 +1,8 @@

**Note**: I built my own state machine called [SimpleFSM](https://github.com/LennartHennigs/SimpleFSM). You might want to check it out.

---

An arduino library for implementing a finite state machine.

# Documentation
Expand All @@ -22,8 +27,27 @@ feature branch.

# Changelog

**2.2.0 - 25/10/2017**
**Unreleased**
* Updated `create_dot_transition()`to improve the display of timed & non-timed transitions
* Added `id` member to `State` struct
* Updated [fsm_graph.ino](https://github.com/LennartHennigs/arduino-fsm/blob/master/examples/fsm_graph/fsm_graph.ino) example to explain naming
* Updated `make_transition()` as suggested in [#22(https://github.com/jonblack/arduino-fsm/issues/22)] and [#35](https://github.com/jonblack/arduino-fsm/issues/35)


**2.3.0 - 01/04/2018 (L. Hennigs)**
* Added `get_dot_definition()` function to FSM to get the FSM graph in [.dot syntax](http://graphs.grevian.org/example)
* Added `get_current_state()` function to FSM
* Added `on_transition()` function to FSM
* States now need to be named, transitions can be named - names are needed for graph generation
* Added webserver example to show a autogenerated FSM graph
* Added `CallbackFunction` struct
* Added `ESP8266` as a possible target architecture in `library.properties`
* Fixed `light_switch` example
* Fixed `timed_switchoff` example
* Updated `keywords.txt`


**2.2.0 - 25/10/2017**
* Add `on_state()` handler to states
* New `run_machine()` method to invoke machine execution (includes a `check_timed_transitions()` call)
* New `timed_switchoff.ino` example sketch to ilustrate new `on_state()` and `run_machine()` funcionality
Expand Down