Expand the output_scale comment
@@ -15,9 +15,18 @@ class AnalogInput : public NumericSensor {
*
* @param[in] pin The GPIO pin to read. On ESP8266, always A0. On ESP32, at
* the moment only ADC channel 1 (pins 32..39) is supported.
+ *
* @param[in] read_delay Time delay between consecutive readings, in ms
+ *
* @param[in] config_path Configuration path for the sensor
- * @param[in] output_scale The maximum scale of the output
+ *
+ * @param[in] output_scale The maximum scale of the output. The default is 1024,
+ * which is typical for Arduino AnalogInput pins. (Because of the way this has
+ * been implemented in SensESP, the default for ESP32 is also 1024.) If you want
+ * your output to be on a different scale (i.e., something other than 0 - 1023),
+ * use this parameter to indicate the X in the `0 - X` scale. For example, if you
+ * want your output to be expressed as a percentage (0 to 100), make this parameter
+ * be 100.
*/
AnalogInput(uint8_t pin = A0, uint read_delay = 200, String config_path = "",
float output_scale = 1024.);
