mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
On/Off function added
This commit is contained in:
parent
6f0aeb756f
commit
4c648a8247
1 changed files with 7 additions and 4 deletions
|
|
@ -534,18 +534,21 @@ message ModuleConfig {
|
|||
*/
|
||||
message AmbientLightingConfig {
|
||||
|
||||
/*Sets LED to on or off. */
|
||||
bool led_state = 1;
|
||||
|
||||
/*Sets the overall current for the LED, firmware side range for the RAK14001 is 1-31, but users should be given a range of 0-100% */
|
||||
uint32 current = 1;
|
||||
uint32 current = 2;
|
||||
|
||||
/*Sets the red level of the LED, firmware side values are 0-255, but users should be given a range of 0-100% */
|
||||
|
||||
uint32 red = 2; // Red level
|
||||
uint32 red = 3; // Red level
|
||||
|
||||
/*Sets the green level of the LED, firmware side values are 0-255, but users should be given a range of 0-100% */
|
||||
uint32 green = 3; // Green level
|
||||
uint32 green = 4; // Green level
|
||||
|
||||
/*Sets the blue level of the LED, firmware side values are 0-255, but users should be given a range of 0-100% */
|
||||
uint32 blue = 4; // Blue level
|
||||
uint32 blue = 5; // Blue level
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue