 #define THREAD_MEMORY 64
 // higher numbers will get run first if there's a scheduling conflict
 // The highest number is 127
-#define THREAD_PRIORITY 20 
+#define THREAD_PRIORITY 20
 
 // You can make more threads if you want, to control more pins!
 #define NUMBER_OF_THREADS 2

  thread_config[0].pin = 3; // pin number can be set to any number 0-5
  thread_config[1].pin = 4;
  //            ^ this is the thread number, has to be less than NUMBER_OF_THREADS
  
  // configure the speed of fading
  thread_config[0].speed = 5;
  thread_config[1].speed = 8;

  // start each of the threads. We do this in setup, not loop, because
  // we don't want to keep on starting threads over and over again!
  
  // The first thread starts running after this line of code. 
  fade_threads[0] = runThread(fade_code, &thread_config[0]);
  
  delay(1000); // this will delay the start of the second thread by 1 second
  
  // The second thread starts running after this line of code.
  fade_threads[1] = runThread(fade_code, &thread_config[1]);
}

};
static fade_thread_config thread_config[NUMBER_OF_THREADS];

static thread_t *fade_threads[NUMBER_OF_THREADS];

// this magic function creates a Thread from heap
static thread_t *runThread(tfunc_t pf, void *arg) {
