![]() |
Pico Led Controller 1.0.3
A project to control LEDs using Raspberry Pi Pico W
|
#include "ssi.h"#include <stdio.h>#include "lwip/apps/httpd.h"#include "pico/cyw43_arch.h"#include "hardware/adc.h"#include "ntp.h"#include "light_state.h"#include "blink.h"Go to the source code of this file.
Functions | |
| u16_t | ssi_handler (int iIndex, char *pcInsert, int iInsertLen) |
| SSI handler. | |
| void | ssi_init () |
| SSI init. | |
Variables | |
| static const char * | ssi_tags [] |
| u16_t ssi_handler | ( | int | iIndex, |
| char * | pcInsert, | ||
| int | iInsertLen | ||
| ) |
SSI handler.
Function handles SSI requests.
| iIndex | index of the SSI handler |
| pcInsert | array of inserts |
| iInsertLen | length of the insert |
Definition at line 26 of file ssi.c.
References light_state_t::brightness, light_state_t::color, COLOR_BLUE, COLOR_CYAN, COLOR_GREEN, COLOR_MAGENTA, COLOR_ORANGE, COLOR_PINK, COLOR_PURPLE, COLOR_RED, COLOR_TURQUOISE, COLOR_WHITE, COLOR_YELLOW, light_state_t::light_mode, light_state, MODE_BREATHING, MODE_FADE, MODE_FLASHING, MODE_LOADING, MODE_RAINBOW_CYCLE, MODE_RAINBOW_WHEEL, MODE_STATIC, MODE_WAVE, light_state_t::state, and utc.
Referenced by ssi_init().
| void ssi_init | ( | ) |
SSI init.
Function initializes SSI handler and respective SSI tags.
Definition at line 138 of file ssi.c.
References ssi_handler(), and ssi_tags.
Referenced by init().
|
static |
Definition at line 13 of file ssi.c.
Referenced by ssi_init().