Update ServiceList.md

This commit is contained in:
HomeSpan 2023-02-20 14:37:31 -06:00 committed by GitHub
parent 864a526bd9
commit f3fb9c3cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ A list of all HomeSpan Services is provided in the table below. For each Servic
```C++
new Service::LightBulb(); // instantiate a Light Bulb Service
new Characteristics:On(); // instantiate the required On Characteristic without setting initial value
new Characteristic:On(); // instantiate the required On Characteristic without setting initial value
new Characteristic::Brightness(50); // instantiate an optional Brightness Characteristic and set initial value to 50%
new Characteristic::Name("Living Room Lamp"); // instantiate an optional Name Characteristic for this Service, and set to "Living Room Lamp"
```