           setOutputLevel(output++, red);
           setOutputLevel(output++, green);
           setOutputLevel(output++, blue);
-        }      
+        }
       }
       Serial.println('R');
     } else if (receiveBuffer[0] == 'H') {

}

void setOutputLevel(byte output, byte level) {
  int intensity;
   if (level)
     intensity = level * 16;
    else
      intensity = 1;
  Wire.beginTransmission(pcaBaseAddress);
  // Only write OFF registers, skip ON registers.
  // This means all PWM load starts at zero, which is not ideal

// This is done by copying the Wire library to the Arduino
// 'libraries' folder and editing the 'utility/twi.h' file.
#include <Wire.h>
#include <avr/pgmspace.h>

const byte
  pcaBaseAddress = 0x40,
