 // TODO: changing/other palette?
 #include <FastLED.h>
+// #define SERIAL_DEBUG
+#ifdef SERIAL_DEBUG
+#include <Streaming.h>
+#endif
 
 #define ROWS 10
 #define COLS 10

  }
}

void ColourLeds(){
  // Calculate the proper LED colours
  for(uint8_t i=0; i!=NUM_LEDS; ++i){
    // apparently palette works best if max is 240
    leds[i] = ColorFromPalette( gPal, scale8(heat[i],240));
  }
}


}

void setup(){
#ifdef SERIAL_DEBUG
  Serial.begin(57600);
  Serial << "Haardvuur.ino" << endl;
#endif
  FastLED.delay(1000);
  
  FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
  FastLED.setBrightness(BRIGHTNESS);
  //test to see if everything is working
  fill_rainbow(leds, NUM_LEDS, 0, 255/NUM_LEDS);
