Skip to content

Commit 1a87645

Browse files
committed
modified: README.md
1 parent 1dd87f9 commit 1a87645

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ FiniteState finiteStateMachine(transitions, numberOfTransitions);
718718
|`STOP`|`0`|`HighTempPredicate`|`0`|`1`|`FanStopProcess`|`-`|`-`|`-`|
719719
|`START`|`1`|`LowTempPredicate`|`1`|`0`|`FanStartProcess`|`-`|`-`|`-`|
720720
721-
#### State-Transition Table Table -> Transition Declaration
721+
#### State-Transition Declaration
722722
723723
```C
724724
Transition transitions[] = {
@@ -834,7 +834,7 @@ const long ThermostatRead() {
834834
|`GREEN`|`1`|`TimePredicate`|`1`|`2`|`-`|`EventOnActionChanged`|`-`|`-`|
835835
|`YELLOW`|`2`|`TimePredicate`|`2`|`0`|`-`|`EventOnActionChanged`|`-`|`-`|
836836
837-
#### State-Transition Table Table -> Transition Declaration
837+
#### State-Transition Declaration
838838
839839
```C
840840
Transition transitions[] = {
@@ -955,7 +955,7 @@ void EventOnActionChanged(EventArgs e) {
955955
|`GREEN`|`1`|`-`|`1`|`2`|`-`|`EventOnActionChanged`|`10,000`|`TRANS_TIMER`|
956956
|`YELLOW`|`2`|`-`|`2`|`0`|`-`|`EventOnActionChanged`|`3,000`|`TRANS_TIMER`|
957957
958-
#### State-Transition Table Table -> Transition Declaration
958+
#### State-Transition Declaration
959959
960960
```C
961961
Transition transitions[] = {
@@ -1063,7 +1063,7 @@ void EventOnActionChanged(EventArgs e) {
10631063
|`LOCKED`|`0`|`CoinPredicate`|`0`|`1`|`LockedProcess`|`-`|`-`|`-`|
10641064
|`UNLOCKED`|`1`|`ArmPredicate`|`1`|`0`|`UnlockedProcess`|`-`|`-`|`-`|
10651065
1066-
#### State-Transition Table Table -> Transition Declaration
1066+
#### State-Transition Declaration
10671067
10681068
```C
10691069
Transition transitions[] = {
@@ -1177,7 +1177,7 @@ void UnlockedProcess(id_t id) {
11771177
|`LOCKED`|`0`|`CoinPredicate`|`0`|`1`|`-`|`EventOnActionChanged`|`-`|`-`|
11781178
|`UNLOCKED`|`1`|`ArmPredicate`|`1`|`0`|`-`|`EventOnActionChanged`|`-`|`-`|
11791179
1180-
#### State-Transition Table Table -> Transition Declaration
1180+
#### State-Transition Declaration
11811181
11821182
```C
11831183
Transition transitions[] = {
@@ -1287,7 +1287,7 @@ void EventOnActionChanged(EventArgs e) {
12871287
|`LED_OFF`|`0`|`-`|`0`|`1`|`TurnOffProcess`|`-`|`500`|`TRANS_TIMER`|
12881288
|`LED_ON`|`1`|`-`|`1`|`0`|`TrunOnProcess`|`-`|`1,000`|`TRANS_TIMER`|
12891289
1290-
#### State-Transition Table Table -> Transition Declaration
1290+
#### State-Transition Declaration
12911291
12921292
```C
12931293
Transition transitions[] = {
@@ -1374,7 +1374,7 @@ void TurnOffProcess(id_t id) {
13741374
|`PRESSED`|`2`|`ButtonPredicate`|`3`|`2`|`PressedProcess`|`-`|`-`|`-`|
13751375
|`DEBOUNCE_F`|`3`|`ButtonPredicate`|`0`|`2`|`-`|`-`|`10`|`FALSE_TIMER`|
13761376
1377-
#### State-Transition Table Table -> Transition Declaration
1377+
#### State-Transition Declaration
13781378
13791379
```C
13801380
#define debounce 10 // Debounce Delay 10 milliseconds
@@ -1487,7 +1487,7 @@ void PressedProcess(id_t id) {
14871487
|`PRE_ALARM`|`1`|`AnalogPredicate`|`0`|`2`|`PreAlarmProcess`|`-`|`3,000`|`TRUE_TIMER`|
14881488
|`HIGH_ALARM`|`2`|`AnalogPredicate`|`2`|`0`|`HighAlarmProcess`|`-`|`-`|`-`|
14891489
1490-
#### State-Transition Table Table -> Transition Declaration
1490+
#### State-Transition Declaration
14911491
14921492
```C
14931493
#define alarmDelay 3000 // Define alarm dalay

0 commit comments

Comments
 (0)