Merge pull request #385 from meshtastic/ambient-lighting-comments

Cleanup ambient lighting comments
pull/386/head v2.2.5
Ben Meadors 2023-09-08 08:58:57 -05:00 zatwierdzone przez GitHub
commit 82ce9448a0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 23 dodań i 13 usunięć

Wyświetl plik

@ -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.
Initially created for the RAK14001 RGB LED module.
/*
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. */
bool led_state = 1;
/*
* 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 = 2;
/*
* 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;
}
/*