28 lines
517 B
C
28 lines
517 B
C
/**
|
|
* @file control.h
|
|
* @brief Control module for LED controller - handles initialization of LEDs, PWM
|
|
*/
|
|
|
|
#ifndef CONTROL_H
|
|
#define CONTROL_H
|
|
|
|
#include "esp_err.h"
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
/**
|
|
* @brief Initialize the control system
|
|
* Loads configuration from NVS and initializes subsystems
|
|
* @return ESP_OK on success
|
|
*/
|
|
esp_err_t control_init(void);
|
|
|
|
/**
|
|
* @brief Get current animation mode
|
|
* @return Current mode (0-13)
|
|
*/
|
|
uint8_t control_get_animation_mode(void);
|
|
|
|
#endif // CONTROL_H
|