summaryrefslogtreecommitdiff
path: root/extra/lightbar/programs/rainbow-shift.lbs
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lightbar/programs/rainbow-shift.lbs')
-rw-r--r--extra/lightbar/programs/rainbow-shift.lbs8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/lightbar/programs/rainbow-shift.lbs b/extra/lightbar/programs/rainbow-shift.lbs
new file mode 100644
index 0000000000..e1cbcddc83
--- /dev/null
+++ b/extra/lightbar/programs/rainbow-shift.lbs
@@ -0,0 +1,8 @@
+# The rainbow cycle program.
+ set.rgb {0,1,2,3}.end 0xff 0xff 0xff
+ set.rgb {0}.phase 0x00 0x55 0xaa
+ set.rgb {1}.phase 0x40 0x95 0xea
+ set.rgb {2}.phase 0x80 0xd5 0x2a
+ set.rgb {3}.phase 0xc0 0x15 0x6a
+ delay.r 7813
+ cycle