AmbientLightingModule

pull/361/head
Jon 2023-06-28 11:05:28 -04:00
rodzic e4396fd499
commit 432d68ef91
2 zmienionych plików z 25 dodań i 0 usunięć

Wyświetl plik

@ -18,3 +18,8 @@
*RemoteHardwareConfig.available_pins max_count:4
*RemoteHardwarePin.name max_size:15
*RemoteHardwarePin.gpio_pin int_size:8
*AmbientLightingConfig.current int_size:8
*AmbientLightingConfig.red int_size:8
*AmbientLightingConfig.green int_size:8
*AmbientLightingConfig.blue int_size:8

Wyświetl plik

@ -583,6 +583,26 @@ message ModuleConfig {
*/
NeighborInfoConfig neighbor_info = 10;
}
/*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 AmblientLightingConfig {
/*Sets the overall current for the LED, range for the RAK14001 is 1-31*/
uint32 current = 1;
/*Sets the red level of the LED, values are 0-255*/
uint32 red = 2; // Red level
/*Sets the green level of the LED, values are 0-255*/
uint32 green = 3; // Green level
/*Sets the blue level of the LED, values are 0-255*/
uint32 blue = 4; // Blue level
}
}
/*