stdd (short for "simple time display daemon") is a handy little daemon for the Raspberry PI device that can be used to display the current time.
Helmut Pozimski dfc4c6bc3b remove the no longer bundled adafruit module from setup.py | 7 年之前 | |
---|---|---|
config | 8 年之前 | |
debian | 8 年之前 | |
default | 10 年之前 | |
doc | 7 年之前 | |
stddlib | 8 年之前 | |
.bzrignore | 11 年之前 | |
Changelog | 8 年之前 | |
INSTALL | 10 年之前 | |
LICENSE | 7 年之前 | |
MANIFEST.in | 10 年之前 | |
README.md | 7 年之前 | |
setup.py | 7 年之前 | |
stdd | 7 年之前 |
stdd (short for "simple time display daemon") is a handy little daemon for the Raspberry PI device that can be used to display the current time on a 7 segment display with a HT16K33 backpack from Adafruit Industries. It makes heavy use of the python libraries published by Adafruit to control the display via I2C.
see ./stdd
stov depends on the following software to be installed:
* python 2.7 or higher (lower 2.x versions might work but are not tested 3.x is not supported)
* python-smbus
* python-pcrtl (optional)
* Adafruit-LED-Backpack module from pypi
see LICENSE
hw_address: hardware address for your display, a common value is
"0x70" use i2cdetect to find yours if it doesn't match
blink_colon: define if you want the middle colon to blink, 0 = off, 1
= on
brightness_high: value used for "high" brightness, valid values are
0-15
brightness_low: value used for "low" brightness, valid values are
0-15
set_brightness_low: time of the day to change the brightness from
high to low
set_brightness_high: time of the day to change the brightness from
low to high
syslog_level: maximum syslog level to log, stdd uses debug, info and
error
syslog_facility: syslog facility to use for logging (default: user,
can also be daemon)
None yet
see INSTALL