Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue authored May 10, 2024
1 parent 2e76181 commit f3bd4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ print(d.brightness_value) # get brightness value, return int value in 0-255
d.brightness_value = 100 # set brightness value

# you can also set brightness mode
from adbutils._proto import BrightnessMode
from adbutils import BrightnessMode
print(d.brightness_mode) # output BrightnessMode.AUTO or BrightnessMode.MANUAL
d.brightness_mode = BrightnessMode.MANUAL # set brightness mode is manual
d.brightness_mode = BrightnessMode.AUTO # set brightness mode is auto
Expand Down

0 comments on commit f3bd4b9

Please sign in to comment.