aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAdam Branes <adam@adam>2021-05-02 17:46:29 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:00:07 +0300
commit679cbe58c4e53f0163588a7731154f3afe2d25aa (patch)
treea2dbc2317a3f107899d60f5e68c8d6cf8d27e146 /test
parenta3e36c1918e63761dfc4d2221cca3636b98e93aa (diff)
downloadMEGATRON-679cbe58c4e53f0163588a7731154f3afe2d25aa.tar.gz
lexer formed
Diffstat (limited to 'test')
-rw-r--r--test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test b/test
new file mode 100644
index 0000000..3549fc5
--- /dev/null
+++ b/test
@@ -0,0 +1,12 @@
+machine temp_switch
+[
+ state above_treshold;
+ starting state below_treshold;
+
+ from below_treshold to above_treshold
+ on event above_temperature "10";
+ from above_treshold to below_treshold
+ on event below_temperature "9";
+ on state above_treshold
+ on event get_temp | html_encase | http_out ;
+];