-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments to message and service files
- Loading branch information
Showing
4 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
uint32 index | ||
uint8 r | ||
uint8 g | ||
uint8 b | ||
# This message represents a state of an LED | ||
|
||
uint32 index # number of LED in a LED strip or other LEDs set | ||
uint8 r # red component of the color, 0..255 | ||
uint8 g # green component of the color, 0..255 | ||
uint8 b # blue component of the color, 0..255 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# Full state of a LED strip or other set of LEDs | ||
|
||
LEDState[] leds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
uint32 index | ||
uint8 r | ||
uint8 g | ||
uint8 b | ||
# This service sets an LED color | ||
|
||
uint32 index # number of LED in a LED strip or other LEDs set | ||
uint8 r # red component of the color, 0..255 | ||
uint8 g # green component of the color, 0..255 | ||
uint8 b # blue component of the color, 0..255 | ||
--- | ||
bool success | ||
string message | ||
bool success # True if the call succeeded | ||
string message # Error or informational message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# This service sets chosen LED colors in a LED strip or other LEDs set | ||
|
||
LEDState[] leds | ||
--- | ||
bool success | ||
string message | ||
bool success # True if the call succeeded | ||
string message # Error or informational message |