From f7e02ecf62d4e464eac7d7372a4f8e52118e2cb5 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sat, 4 Feb 2023 07:57:16 -0600 Subject: [PATCH] Update Reference.md --- docs/Reference.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Reference.md b/docs/Reference.md index e0fd18e..054d2b3 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -450,6 +450,8 @@ In addition, you can also override the ESP32's touch sensor timing parameters us * changes the measurement time and sleep time clock cycles to *measureTime* and *sleepTime*, respectively. This is simply a pass-though call to the Arduino-ESP32 library `touchSetCycles()` function * unless a specific threshold value has been set with `setTouchThreshold()`, `setTouchCycles()` must be called *before* instantiating the first SpanButton() of type `SpanButton::TRIGGER_ON_TOUCH` so that HomeSpan will calibrate the touch threshold based on the new timing parameters specified +### *SpanToggle(int pin, boolean (\*triggerType)(int)=PushButton::TRIGGER_ON_LOW, uint16_32 toggleTime=5)* + ### *SpanUserCommand(char c, const char \*desc, void (\*f)(const char \*buf [,void \*obj]) [,void \*userObject])* Creating an instance of this **class** adds a user-defined command to the HomeSpan Command-Line Interface (CLI), where: