Simple project implementing various clock interfaces; analogue, binary and digital (7 segment).
From the directory containing the source:
python pyclock.py {options}
Short | Long | Info |
---|---|---|
-i | --interface | Interface type. Valid options: analogue, binary, digital |
-l | --led-colour | Colour of the LEDs for the digital and binary clock interfaces. |
It is possible to change the colour of the 'LEDs' on both the digital and binary clock interfaces by using the -l or --led-colour flags.
Colours can be specified as either a hex RGB (#FF00FF) or a valid name from the X11 Color Name Chart.
# RGB values
python pyclock -i binary -l '#DAA520'
python pyclock -i digital -l \#4B0082
# X11 colour names.
python pyclock -i digital -l indigo
python pyclock -i binary -l 'dodger blue'