 
 
 
+

int brightness = 0;
int breathType = BREATH_IN;
bool stopBreathFlag = true;

void setup()
{

        return;
    }
    
    char ch = mySerial.read();
    if(!started) {
        if(ch == startCodes[index]) {
            if(++index == sizeof(startCodes)) {
                started = true;
                PLAY_SOUND();
            }
        } else {
            index = 0;
        }
    } else {
        if(!stopBreathFlag) {
            while(mySerial.read() > 0);
        }
        protocolHandler(ch);
    }
}

void loop()
