Skip to content

Commit

Permalink
decay factor of 1.5 looks closer to original KITT!
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterZeus committed Jan 30, 2022
1 parent c933437 commit cf542eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/kitt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import time # so we can wait between frames
import blinkt # so we can talk to our blinkt lights!

BRIGHTNESS = 0.2 # range is 0.0 to 1.0
MAX_COLOUR = 255 # range is 0 to 255
DECAY_FACTOR = 3 # how quickly should MAX_COLOUR fade?
TIME_SLEEP = 0.04 # seconds (0.04 works well)
BRIGHTNESS = 0.2 # range is 0.0 to 1.0
MAX_COLOUR = 255 # range is 0 to 255
DECAY_FACTOR = 1.5 # how quickly should MAX_COLOUR fade? (1.5 works well)
TIME_SLEEP = 0.04 # seconds (0.04 works well)

PIXELS = blinkt.NUM_PIXELS # usually 8, can use fewer if you like!

Expand Down

0 comments on commit cf542eb

Please sign in to comment.