From: R. Steve McKown Date: Wed, 7 Dec 2011 00:23:25 +0000 (-0700) Subject: Don't use the white LED in random mode X-Git-Tag: 1.0~50 X-Git-Url: https://oss.titaniummirror.com/gitweb?p=rgblamp.git;a=commitdiff_plain;h=48069d4c557c4fa288cec67b4206980251451a2d Don't use the white LED in random mode The white LED tends to wash out other colors, so don't use it. The CREE MC-E LED assembly makes a pretty good white using R+G+B. --- diff --git a/main.c b/main.c index b998176..232cc6a 100644 --- a/main.c +++ b/main.c @@ -44,7 +44,7 @@ #define leds_set(r,g,b,w) rgb_set((r).value >> 7, \ (g).value >> 7, \ (b).value >> 7, \ - (w).value >> 7) + 0) typedef struct { int value;