SensESP 3.0.0-beta.6
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
debounce.cpp
Go to the documentation of this file.
1#include "debounce.h"
2
3namespace sensesp {
4
5const String ConfigSchema(const Debounce<bool>& obj) {
6 return R"###({"type":"object","properties":{"min_delay":{"title":"Minimum delay","type":"number","description":"The minimum time in ms between inputs for output to happen"}}})###";
7}
8
9} // namespace sensesp
Implements debounce code for a button or switch.
Definition debounce.h:32
const String ConfigSchema(const SmartSwitchController &obj)