#include "test_controlled_value.h"
#include "test_manager.h"
#include "rotary_encoder.h"
#include "test_widget_on_serial_monitor.h"
#include <map>
#include <string>
#include "probe.h"
Go to the source code of this file.
- Author
- xiansnn (xians.nosp@m.nn@h.nosp@m.otmai.nosp@m.l.co.nosp@m.m)
- Version
- 0.1
- Date
- 2024-05-30
- Copyright
- Copyright (c) 2024
Definition in file test_ui_core.cpp.
◆ CENTRAL_SWITCH_GPIO
| #define CENTRAL_SWITCH_GPIO 6 |
◆ ENCODER_CLK_GPIO
| #define ENCODER_CLK_GPIO 26 |
◆ ENCODER_DT_GPIO
| #define ENCODER_DT_GPIO 21 |
◆ main()
◆ shared_irq_call_back()
| void shared_irq_call_back |
( |
uint | gpio, |
|
|
uint32_t | event_mask ) |
◆ central_switch
| SwitchButton central_switch = SwitchButton(CENTRAL_SWITCH_GPIO, cfg_central_switch) |
◆ cfg_central_switch
| StructSwitchButtonConfig cfg_central_switch |
Initial value:{
.debounce_delay_us = 5000,
.long_release_delay_us = 1000000,
.long_push_delay_us = 1000000,
.active_lo = true}
Definition at line 27 of file test_ui_core.cpp.
◆ cfg_encoder_clk
| StructSwitchButtonConfig cfg_encoder_clk |
Initial value:{
.debounce_delay_us = 5000}
Definition at line 33 of file test_ui_core.cpp.
◆ encoder
Initial value:= RotaryEncoder(ENCODER_CLK_GPIO, ENCODER_DT_GPIO,
shared_irq_call_back, cfg_encoder_clk)
Definition at line 37 of file test_ui_core.cpp.
◆ pr_D1
◆ pr_D4
◆ pr_D5