diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2022-12-01 21:29:34 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2022-12-01 21:29:34 -0700 |
commit | 05e3f6bb7293c771629c7b3599392c8f335e7dd8 (patch) | |
tree | c2a5cd4d27d7673b3a58071c0656f87c92ee9ff3 /include/http_server.h | |
parent | 8d379bf60e50960f6c855cd6b9c83956a082f73d (diff) | |
download | esp32-ws2812b-05e3f6bb7293c771629c7b3599392c8f335e7dd8.tar.gz esp32-ws2812b-05e3f6bb7293c771629c7b3599392c8f335e7dd8.tar.bz2 esp32-ws2812b-05e3f6bb7293c771629c7b3599392c8f335e7dd8.zip |
Add an HTTP Server.
This server allows the user to control the parameters of the state for
displaying the lights.
Diffstat (limited to 'include/http_server.h')
-rw-r--r-- | include/http_server.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/http_server.h b/include/http_server.h new file mode 100644 index 0000000..578b561 --- /dev/null +++ b/include/http_server.h @@ -0,0 +1,11 @@ +#pragma once +#ifndef HTTP_SERVER_H_ +#define HTTP_SERVER_H_ + +#include <esp_log.h> +#include <esp_http_server.h> +#include "ws2812b_writer.h" + +httpd_handle_t start_webserver(ws_params_t* params); + +#endif /* HTTP_SERVER_H_ */ |