                     }
             }
             break;
+            case 'T'://toggle a pin
+            switch (c[1]) {
+                case 'A': {//analog pin
+                        
+                        break;
+                    }
+                case 'D': {//digital pin
+                        toggleDigitalPin(c);
+                        break;
+                    }
+                    break;
+            }
     }
 }
 

    temp.toCharArray(buffer, 20);
}



    if ((current[device] - prev[device]) >= interv && interval[device]) {
        prev[device] = current[device];
        return true;
    }
    return false;
}

float getFloat(char cString[]) {
    String newString = cString;
    String value = newString.substring(2, newString.length());
    Serial.print("String: ");
