summaryrefslogtreecommitdiffstats
path: root/blinky.c
diff options
context:
space:
mode:
Diffstat (limited to 'blinky.c')
-rw-r--r--blinky.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/blinky.c b/blinky.c
index 51f86c1..a72a00f 100644
--- a/blinky.c
+++ b/blinky.c
@@ -54,7 +54,7 @@ setup_colors (struct RGB *colors, int n)
colors[i].r = ramp (((i) % n) - n3, n3);
//colors[i].g = ramp (((i + n3) % n) - n3, n3);
//colors[i].b = ramp (((i + n3 + n3) % n) - n3, n3);
- colors[i].g=(128+colors[i].r)/2;
+ colors[i].b=255;
printf ("%3d: %3d %3d %3d\n", i, colors[i].r, colors[i].g, colors[i].b);
@@ -108,3 +108,4 @@ main (void)
i %= N_COLORS;
}
}
+