From a7552770f8d98f8993c56d592a59b9963eb6e51f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 16 Mar 2016 19:41:28 +0100 Subject: more natural speed semantic (speed++ -> animation is faster) --- utilities/blinkenrocket.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utilities') diff --git a/utilities/blinkenrocket.py b/utilities/blinkenrocket.py index 9671fbe..dd229b9 100644 --- a/utilities/blinkenrocket.py +++ b/utilities/blinkenrocket.py @@ -122,7 +122,7 @@ class textFrame(Frame): # identifier as of message specification: 0001 identifier = 0x01 - def __init__(self,text,speed=1,delay=0,direction=0): + def __init__(self,text,speed=13,delay=0,direction=0): self.text = text self.setSpeed(speed) self.setDelay(delay) @@ -159,7 +159,7 @@ class animationFrame(Frame): # identifier as per specification: 0010 identifier = 0x02 - def __init__(self,animation,speed=1,delay=0): + def __init__(self,animation,speed=13,delay=0): self.setAnimation(animation) self.setSpeed(speed) self.setDelay(delay) -- cgit v1.2.3