From 22defc10a1e2b342ae1f76eb02c7d08dc9d19e48 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Fri, 12 May 2023 21:42:35 -0500 Subject: [PATCH] Update PWM.md --- docs/PWM.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/PWM.md b/docs/PWM.md index dbd67dc..c0a647b 100644 --- a/docs/PWM.md +++ b/docs/PWM.md @@ -92,7 +92,9 @@ The following PWM resources are available: HomeSpan *automatically* allocates Channels and Timers to LedPin and ServoPin objects as they are instantiated. Every pin assigned consumes a single Channel; every *unique* frequency specified among all channels (within the same set, for the ESP32) consumes a single Timer. HomeSpan will conserve resources by re-using the same Timer for all Channels operating at the same frequency. *HomeSpan also automatically configures each Timer to support the maximum duty-resolution possible for the frequency specified.* -HomeSpan will report a non-fatal error message to the Arduino Serial Monitor when insufficient Channel or Timer resources prevent the creation of a new LedPin or ServoPin object. Calls to the `set()` method for objects that failed to be properly created are silently ignored. +#### Diagnostic Messages + +The **LedPin** and **ServoPin** classes output *Information \[I\]* and *Warning \[W\]* messages to the Serial Monitor based on the *Core Debug Level* selected when compiling the sketch using the Arduino IDE. A non-fatal warning message is produced when insufficient Channel or Timer resources prevent the creation of a new LedPin or ServoPin object. Calls to the `set()` method for objects that failed to be properly created are silently ignored. ---