aboutsummaryrefslogtreecommitdiff
path: root/include/state_params.i
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2021-12-02 17:19:00 -0700
committerJosh Rahm <joshuarahm@gmail.com>2021-12-02 17:19:00 -0700
commit8d379bf60e50960f6c855cd6b9c83956a082f73d (patch)
treeabc799411d565f7e0330ceb6d2db5818ea987d6a /include/state_params.i
parent62715093e446d952bbc3fa82fdb65deacd576be2 (diff)
downloadesp32-ws2812b-8d379bf60e50960f6c855cd6b9c83956a082f73d.tar.gz
esp32-ws2812b-8d379bf60e50960f6c855cd6b9c83956a082f73d.tar.bz2
esp32-ws2812b-8d379bf60e50960f6c855cd6b9c83956a082f73d.zip
Break out the state parmaters into their own include file.
This helps by creating one location to add state parameters.
Diffstat (limited to 'include/state_params.i')
-rw-r--r--include/state_params.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/state_params.i b/include/state_params.i
new file mode 100644
index 0000000..447b72b
--- /dev/null
+++ b/include/state_params.i
@@ -0,0 +1,9 @@
+STATE_PARAM(uint32_t, time)
+STATE_PARAM(int, timetick)
+STATE_PARAM(uint8_t, brightness)
+STATE_PARAM(uint8_t, off)
+STATE_PARAM(uint8_t, n_snow)
+STATE_PARAM(uint8_t, n_red)
+STATE_PARAM(bool, sleep)
+STATE_PARAM(bool, power)
+STATE_PARAM(bool, cool)