Beruflich Dokumente
Kultur Dokumente
CRITICAL_BATTERY_LEVEL = 15
current_battery_level = 25
# TODO: run the program with different values
color = 0xFFFF00 # yellow color coded as a RGB (red green blue) in a hexadecimal
number.
# It seems to be a magic number, but you can easily reveal the meaning of it.
# However, it is better to replace it wih constant value in case you would need to
change it later.
mode = 0 # flashing mode coded as 2, other modes could be 0 for off, 1 for on