 int blueEndRaw = 0;
 int blueEndVal = 0;
 
-
 int redDif = 0;
 int greenDif = 0;
 int blueDif = 0;
 
-
 int prevCommand = 0;
-
 
 int R = 0;
 int G = 0;


          client.stop();


          uint32_t c;
          uint32_t wait;

          if ( waitTime > 0 ) {
            wait = waitTime;
          } else {
            wait = 50;
          }


          c = strip.Color(redVal, greenVal, blueVal);
          neoPixelToChange = 0;
          while (neoPixelToChange <= NUMPIXELS) {

            // this call allows us to check if there is a new command, thereby interrupting the current loop
            YunClient client = server.accept();
            if (client) {
              break;
