-// This #include statement was automatically added by the Spark IDE.
-#include "HttpClient/HttpClient.h"
-
-// This #include statement was automatically added by the Spark IDE.
-//#include "SparkTime/SparkTime.h"
-
 // extended from time_loop from https://github.com/zeroeth/time_loop 
 #include "application.h"
 

}



/* SIMPLE MIXER */
// add rgb and clamp





/* APP */
ClockPositions positions;
ClockSegments  segments(strip, positions);

void setup ()
{
  Time.zone(+1);
  strip.begin ();
  strip.show (); // Initialize all pixels to 'off'
  
  // Dim on board LED
  RGB.control(true);
  RGB.color(50, 0, 0);
  
  request.hostname = "www.timeapi.org";
  request.port = 80;
  request.path = "/utc/now";
}


void loop ()
{
  positions.update ();
  segments.draw ();
}



uint32_t off_color_strong    = strip.Color (  0,  1,  0);


/* CLOCK */
class ClockPositions
{
