summaryrefslogtreecommitdiffstats
path: root/tests/Settings.toml
diff options
context:
space:
mode:
authorEugeen Sablin <EugeenSablin@gmail.com>2018-11-10 19:23:16 +0300
committerEugeen Sablin <EugeenSablin@gmail.com>2018-11-10 19:23:16 +0300
commit2cb768bddc715c32e740a067652e7200c8d344f3 (patch)
tree1ca5ccc3a5794def758a765da835fe9b8b73b1a4 /tests/Settings.toml
parent802f947fa2b5060b605aa39c0c7c201ede9a5ed8 (diff)
support reading enums from config
Diffstat (limited to 'tests/Settings.toml')
-rw-r--r--tests/Settings.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/Settings.toml b/tests/Settings.toml
index 14f881f..26e6d26 100644
--- a/tests/Settings.toml
+++ b/tests/Settings.toml
@@ -10,6 +10,19 @@ boolean_s_parse = "fals"
arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
+[diodes]
+green = "off"
+
+[diodes.red]
+brightness = 100
+
+[diodes.blue]
+blinking = [300, 700]
+
+[diodes.white.pattern]
+name = "christmas"
+inifinite = true
+
[[items]]
name = "1"