|
FastLED 3.9.15
|
#include "./ui_state.h"#include "shared/Painter.h"#include "fl/log/log.h"#include "fl/stl/compiler_control.h"#include <Arduino.h>
Include dependency graph for ui_state.cpp:Go to the source code of this file.
Macros | |
| #define | A3 3 |
| #define | A4 4 |
| #define | PIN_COLOR_SELECT 4 |
| #define | PIN_POT_COLOR_SENSOR A3 |
| #define | PIN_POT_VEL_SENSOR A4 |
| #define | PIN_VIS_SELECT 2 |
| #define | UI_DBG |
| #define | UI_V2 |
Functions | |
| float | read_color_selector () |
| float | read_velocity_bias () |
| void | ui_init () |
| ui_state | ui_update (uint32_t now_ms, uint32_t delta_ms) |
Variables | |
| Potentiometer | color_pot (PIN_POT_COLOR_SENSOR) |
| ColorSelector | color_selector (PIN_COLOR_SELECT) |
| Potentiometer | velocity_pot (PIN_POT_VEL_SENSOR) |
| CountingButton | vis_selector (PIN_VIS_SELECT) |