You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --brightness argument does not work. When doing values between 0.1 and 1, the script fails to run. It appears the argument is looking for an int type value instead of float.
The other issue with the brightness is there are 2 variables. brighness_led appears to be the variable adjusting the brightness while the --brightness arg changes the brightness variable. This fixed it for me: if args.brightness: if args.brightness < 0.1 and args.brightness > 1: printerror("Value must be between 0.1 and 1") exit(5) brightness = args.brightness printwarning("Option: Brightness set to " + str(brightness))
Probably could do away with the 'brightness' variable all together.
The text was updated successfully, but these errors were encountered:
The --brightness argument does not work. When doing values between 0.1 and 1, the script fails to run. It appears the argument is looking for an int type value instead of float.
The other issue with the brightness is there are 2 variables. brighness_led appears to be the variable adjusting the brightness while the --brightness arg changes the brightness variable. This fixed it for me:
if args.brightness: if args.brightness < 0.1 and args.brightness > 1: printerror("Value must be between 0.1 and 1") exit(5) brightness = args.brightness printwarning("Option: Brightness set to " + str(brightness))
Probably could do away with the 'brightness' variable all together.
The text was updated successfully, but these errors were encountered: