Setting¶
set volume¶
- brian.settings.set_volume(percent: float) None
Set current volume
- Parameters:
percent – Percentage of the maximum volume to apply. The value will be clipped to range 0% ~ 100%. The volume will not be set higher, than the one set in the settings in main menu.
get current volume¶
- brian.settings.get_current_volume() float
- Returns:
Current speaker volume in percent (0% ~ 100%).
get preferred volume¶
- brian.settings.get_preferred_volume() float
- Returns:
Speaker volume that was set in the settings in main menu (0% ~ 100%).
set lcd brightness¶
- brian.settings.set_lcd_brightness(percent: float) None
Set current lcd brightness
- Parameters:
percent – Percentage of the maximum brightness to apply. The value will be clipped to range 1% ~ 100%. The brightness will not be set higher, than the one set in the settings in main menu.
get current lcd brightness¶
- brian.settings.get_current_lcd_brightness() float
- Returns:
Current LCD brightness in percent (1% ~ 100%).
get preferred lcd brightness¶
- brian.settings.get_preferred_lcd_brightness() float
- Returns:
LCD brightness value that was set in the settings in main menu (0% ~ 100%).