Skip to content

Commit

Permalink
Merge pull request #385 from meshtastic/ambient-lighting-comments
Browse files Browse the repository at this point in the history
Cleanup ambient lighting comments
  • Loading branch information
thebentern authored Sep 8, 2023
2 parents 826dfb7 + 1d38ee2 commit 82ce944
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions meshtastic/module_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 LED to on or off.
*/
bool led_state = 1;

/*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 current for the LED output. Default is 10.
*/
uint32 current = 2;

uint32 red = 3; // Red level
/*
* Sets the red LED level. Values are 0-255.
*/
uint32 red = 3;

/*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 green LED level. Values are 0-255.
*/
uint32 green = 4;

/*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;
}

/*
Expand Down

0 comments on commit 82ce944

Please sign in to comment.