diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2021-12-01 23:42:19 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2021-12-01 23:42:19 -0700 |
commit | 62715093e446d952bbc3fa82fdb65deacd576be2 (patch) | |
tree | c4fca7d19d8cd73b76c030de8f66eedc1930ec22 /include/tcp_server.h | |
parent | b1ca00800f34ab86c0a99c46796c73a8028157ff (diff) | |
download | esp32-ws2812b-62715093e446d952bbc3fa82fdb65deacd576be2.tar.gz esp32-ws2812b-62715093e446d952bbc3fa82fdb65deacd576be2.tar.bz2 esp32-ws2812b-62715093e446d952bbc3fa82fdb65deacd576be2.zip |
Add a controller shell.
This adds a mini shell to the tcp server that allows the user
to modify the current state.
Commands are in the form:
set [int_attribute] (=|+=|-=) [number]
set [bool_attribute] (on|off|toggle)
print
end
for example:
set brightness += 5
set power on
print
end
Diffstat (limited to 'include/tcp_server.h')
0 files changed, 0 insertions, 0 deletions