kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #385 from meshtastic/ambient-lighting-comments
Cleanup ambient lighting commentspull/386/head v2.2.5
commit
82ce9448a0
|
@ -585,26 +585,36 @@ message ModuleConfig {
|
|||
bool send_bell = 11;
|
||||
}
|
||||
|
||||
/*Ambient Lighting Module - Settings for control of onboard LEDs to allow users to adjust the brightness levels and respective color levels.
|
||||
/*
|
||||
Ambient Lighting Module - Settings for control of onboard LEDs to allow users to adjust the brightness levels and respective color levels.
|
||||
Initially created for the RAK14001 RGB LED module.
|
||||
*/
|
||||
message AmbientLightingConfig {
|
||||
|
||||
/*Sets LED to on or off. */
|
||||
/*
|
||||
* 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% */
|
||||
/*
|
||||
* Sets the current for the LED output. Default is 10.
|
||||
*/
|
||||
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% */
|
||||
/*
|
||||
* Sets the red LED level. Values are 0-255.
|
||||
*/
|
||||
uint32 red = 3;
|
||||
|
||||
uint32 red = 3; // Red level
|
||||
/*
|
||||
* Sets the green LED level. Values are 0-255.
|
||||
*/
|
||||
uint32 green = 4;
|
||||
|
||||
/*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 = 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 = 5; // Blue level
|
||||
/*
|
||||
* Sets the blue LED level. Values are 0-255.
|
||||
*/
|
||||
uint32 blue = 5;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue