 unsigned long sendInterval=50;
 void processData(){
   if(mode==0){
-    return;
+//    return;
+//    IRL, it's not desirable to send BT even when it's supposed to be on
+//    demo-wise, only the LED changes when on and off
   }
   if((millis()-previousProcess)>sendInterval){
     float data[6];

//        }
//        color[i]=(a/mode1Duration+startColor[i])%256;
//      }

      float ratio_general=(float)(millis()-startCurrentMode)/mode1Duration;
//      Serial.print(ratio_general);
//     for debug
      
      for(int i=0; i<3 ; i++){
        color[i]=(int)(ratio_general*(endColor[i]-startColor[i])) + startColor;
      }
      if(!isBT){
        Serial.println((String)color[0]+","+(String)color[1]+","+(String)color[2]);

Adafruit_NeoPixel pixelsA = Adafruit_NeoPixel(ledNumA, ledPinA, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel pixelsB = Adafruit_NeoPixel(ledNumB, ledPinB, NEO_GRB + NEO_KHZ800);
int color[]={0,250,50};
int startColor[]={0, 0, 250};
int endColor[]={0, 250, 0};
unsigned long mode1Duration=20000;

boolean notFirst=true;

