Added new Candle effect - like those fake flickering led candles (#317)

* Added new Candle effect - like those fake flickering led candles

* Candle work...
code cleanups
parameter changes
schema file
english labels

* renamed a title

* candle effect german localisation

* fix typo in police.py
This commit is contained in:
penfold42
2016-12-09 23:21:32 +11:00
committed by brindosch
parent 0d114ca728
commit 33f5530a1c
6 changed files with 161 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ reverse = bool(hyperion.args.get('reverse', False))
# Check parameters
rotationTime = max(0.1, rotationTime)
colorsCoun t = min(hyperion.ledCount/2, colorsCount)
colorsCount = min(hyperion.ledCount/2, colorsCount)
# Initialize the led data
hsv1 = colorsys.rgb_to_hsv(colorOne[0]/255.0, colorOne[1]/255.0, colorOne[2]/255.0)