     // although the client can scale green down as well.
     if( G2 ) colors[1] = colors[1] >> 1;
     if( Gscale ) colors[1] = scale8_video_LEAVING_R1_DIRTY( colors[1], Gscale);
-    
-    /* commenting out saturation and brightness, keep them at max
-    // Scale down colors if we're desaturated at all
-    // and add the brightness_floor to r, g, and b.
-    if( sat != 255 ) {
-
-        nscale8x3_video( colors[0], colors[1], colors[2], sat);
-
-        unsigned char desat = 255 - sat;
-        desat = scale8( desat, desat);
-        
-        //unsigned char brightness_floor = desat;
-        colors[0] += desat;
-        colors[1] += desat;
-        colors[2] += desat;
-    }
-
-    // Now scale everything down if we're at value < 255.
-    if( val != 255 ) {
-        
-        val = scale8_video_LEAVING_R1_DIRTY( val, val);
-        nscale8x3_video( colors[0], colors[1], colors[2], val);
-    }
-    */
 }
 
 ////////////////////////////////////////////////////////////////////////////////////

  for (unsigned char hue=0; hue < 255; hue++) {
    for (unsigned char index=0; index < PIXELS; index++) {
        unsigned char offset = index * delta * direction;
        hsv2rgb_rainbow(hue + offset, 255, 255, led_colors[index]);
        }
    show_all_led_colors();
    delay(20);

        : "r0", "r1");

    return j;
#else
#error "No implementation for scale8_video_LEAVING_R1_DIRTY available."
#endif
} 

void hsv2rgb_rainbow(unsigned char hue, unsigned char colors[3])
{
    // Yellow has a higher inherent brightness than
    // any other color; 'pure' yellow is perceived to
