 
     // analog read
     // [77, pin, analog pin, seconds]
-    else if(cmd[0] == 77 && fourdigit[cmd[1]-2].ready())
+    else if(cmd[0] == CMD_4D_ANALOG_READ && fourdigit[cmd[1]-2].ready())
     {
       int pin = cmd[2];
       int reads = 4 * cmd[3];  // 1000/250 * cmd[3]


    // set left and right with colon separator
    // [76, pin, left, right]
    else if(cmd[0] == 76 && fourdigit[cmd[1]-2].ready())
    {
      uint8_t data[] = {};
      // 1st segment

		flow_run_bk=1;
		cmd[0]=0;
	}
	else if(cmd[0]==CMD_FLOW_DIS)
    {
		flow_run_bk=0;
        detachInterrupt(0);
