Update Reference.md

This commit is contained in:
HomeSpan 2021-03-07 17:41:41 -06:00 committed by GitHub
parent bcbe4c1d92
commit c64c31f4cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ Creating an instance of this **class** overrides the default HAP range for a Cha
* instantiating a Range without first instantiating a Characteristic throws an error during initialization
* example: `new Characteristic::Brightness(50); new SpanRange(10,100,5);`
* this is a legacy function that is limited to integer-based parameters, and has been re-coded to simply call the more generic `setRange(min, max, step)` method
* **please use setRange(min, max, step) for all new sketches**
* **please use** `setRange(min, max, step)` **for all new sketches**
---