Skip to content

Commit 7969452

Browse files
authored
Update Commands.md
PWMRange not arbitrary number
1 parent 17507d5 commit 7969452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ NtpServer<x\><a class="cmnd" id="ntpserver"></a>|NTP server setup (x= `1..3`)<BR
191191
OtaUrl<a class="cmnd" id="otaurl"></a>|Display current OTA URL<BR> `1` = Reset OtaUrl to firmware default<BR> `url` = set address for OTA (100 char limit)
192192
PWM<x\><a class="cmnd" id="pwm"></a>|`0..1023` = set PWM value for channel (NOTE see [`SetOption15`](#setoption15))
193193
PWMFrequency<a class="cmnd" id="pwmfrequency"></a>|`<frequency> [, <channel>]`<BR>`1` = reset PWM frequency to 223Hz<BR>`40..4000 or 2..50000` = set PWM frequency (40Hz to 4kHz on ESP 82xx / 2Hz to 50kHz on ESP32)<BR>PWM channel can **only** be selected on ESP32<BR>_As of v8.3.0 the default frequency changed to 977Hz_
194-
PWMRange<a class="cmnd" id="pwmrange"></a>|`1` = reset maximum PWM range to 1023<BR>`255..1023` = set maximum PWM range
194+
PWMRange<a class="cmnd" id="pwmrange"></a>|`1` = reset maximum PWM range to 1023<BR>`255|511|1023` = set maximum PWM range
195195
Reset<a class="cmnd" id="reset"></a>|`1` = reset device settings to firmware defaults and restart (see warning below)<BR>`2` = erase flash, reset device settings to firmware defaults and restart<BR> `3` = erase System Parameter Area in flash (Wi-Fi calibration and related data) and restart (see warning below)<BR>`4` = reset device settings to firmware defaults but retain Wi-Fi credentials and restart<BR> `5` = erase all flash and reset parameters to firmware defaults but keep Wi-Fi settings and restart<BR>`6` = erase all flash and reset parameters to firmware defaults but keep Wi-Fi and MQTT settings and restart<BR>*(Erase of flash can take a few seconds to complete and there is no output during the erase process on the serial or web console)*<BR>`99` = reset device bootcount to zero<BR>:warning: For `reset 3`and `reset 1`, device must be power-cycled in order to load new Wifi System parameters.
196196
Restart<a class="cmnd" id="restart"></a>|`1` = restart device with configuration saved to flash<BR>`2` = halt system (needs hardware reset or power cycle to restart)<BR>`3` = (ESP32 only) restart device into safeboot with configuration saved<BR>`9` = save all changes and go into deepsleep waiting for a reset<BR>`99` = force restart device without configuration save<BR>_For debug and testing stack trace dumps only:_<BR>`-1` = force an Exception (28) crash<BR>`-2` = force a Soft WDT reset (after a freeze of 2 seconds)<BR>`-3` = force an OS watchdog reset (after a freeze of 120 seconds, **caution!**)
197197
RtcNtpServer<x\><a class="cmnd" id="rtcntpserver"></a>|Use Tasmota NTP server when enabled by define ``RTC_NTP_SERVER``<BR>`0` = disabled<BR>`1` = enabled

0 commit comments

Comments
 (0)