Skip to content

Commit

Permalink
Update for my new test strip
Browse files Browse the repository at this point in the history
  • Loading branch information
tinue committed May 28, 2020
1 parent 3adb7c3 commit 19b913c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions runcolorcycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@
# One Cycle with one step and a pause of three seconds. Hence three seconds of white light
print('Three Seconds of white light')
MY_CYCLE = colorschemes.Solid(num_led=NUM_LED, pause_value=3,
num_steps_per_cycle=1, num_cycles=1)
num_steps_per_cycle=1, num_cycles=1, order='rgb')
MY_CYCLE.start()

# Go twice around the clock
print('Go twice around the clock')
MY_CYCLE = colorschemes.RoundAndRound(num_led=NUM_LED, pause_value=0,
num_steps_per_cycle=NUM_LED, num_cycles=2)
num_steps_per_cycle=NUM_LED, num_cycles=2, order='rgb')
MY_CYCLE.start()

# One cycle of red, green and blue each
print('One strandtest of red, green and blue each')
MY_CYCLE = colorschemes.StrandTest(num_led=NUM_LED, pause_value=0,
num_steps_per_cycle=NUM_LED, num_cycles=3)
num_steps_per_cycle=NUM_LED, num_cycles=3, order='rgb')
MY_CYCLE.start()

# One slow trip through the rainbow
print('One slow trip through the rainbow')
MY_CYCLE = colorschemes.Rainbow(num_led=NUM_LED, pause_value=0,
num_steps_per_cycle=255, num_cycles=1)
num_steps_per_cycle=255, num_cycles=1, order='rgb')
MY_CYCLE.start()

# Five quick trips through the rainbow
print('Five quick trips through the rainbow')
MY_CYCLE = colorschemes.TheaterChase(num_led=NUM_LED, pause_value=0.04,
num_steps_per_cycle=35, num_cycles=5)
num_steps_per_cycle=35, num_cycles=5, order='rgb')
MY_CYCLE.start()

print('Finished the test')

0 comments on commit 19b913c

Please sign in to comment.