fix strobe effect frequency (#300)

* fix strobe effect frequency

* Changed the frequency in the effect definitions
This commit is contained in:
penfold42 2016-11-27 21:39:20 +11:00 committed by redPanther
parent 1b62d9d717
commit 6b3f0e42b5
4 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,6 @@
"args" :
{
"color" : [ 0, 0, 255 ],
"frequency" : 10.0
"frequency" : 5.0
}
}

View File

@ -4,6 +4,6 @@
"args" :
{
"color" : [ 188, 17, 66 ],
"frequency" : 10.0
"frequency" : 5.0
}
}

View File

@ -4,6 +4,6 @@
"args" :
{
"color" : [ 255, 255, 255 ],
"frequency" : 10.0
"frequency" : 5.0
}
}

View File

@ -8,7 +8,7 @@ frequency = float(hyperion.args.get('frequency', 10.0))
frequency = min(100.0, frequency)
# Compute the strobe interval
sleepTime = 1.0 / frequency
sleepTime = 0.5 / frequency
# Start the write data loop
while not hyperion.abort():