Skip to content

dummyload/PyClock

Repository files navigation

PyClock

Introduction

Simple project implementing various clock interfaces; analogue, binary and digital (7 segment).

Usage

From the directory containing the source:

python pyclock.py {options}

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.

Colours

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.

Examples

# 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'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages