     // ======  REGISTER COMMANDS ==============================
     commandInterpreter.addCommand("blink", command_blink);
     commandInterpreter.addCommand("status", command_status);
+    commandInterpreter.addCommand("pmode", command_pmode);
+    commandInterpreter.addCommand("dwrite", command_dwrite);
+    commandInterpreter.addCommand("awrite", command_awrite);
 }
 
 // ====================================


boolean blinkNow = false;

void json_append_attr_int(String *status, char *attr, int val)
{
    *status += '"';

    *status += val;
}

boolean command_status(char* arg1, char* arg2)  // TX: STATUS-JSON {"blinking":1}
{
    // ==== STATUS JSON ====>>>
    String status = "{";  // using String adds 2kB!
