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: