 //        or   { "modes" : [ { "pin" : pp, "mode" : mm }, ... ] }
 //
 // But the digitalWrite API uses the same general outline, except
-// that instead of "pinmode" it says "digitalwrite" and instead of
+// that instead of "modes" it says "writes" and instead of
 // "mode" it says "value", and the list of allowed substitutions
 // (e.g., HIGH/LOW) is different. And, of course, the function to
 // be called is different.

//

struct pinop_params {
    char *topobj;           // e.g., "modes"
    void (* callback)(int, int, struct pinop_params *);
    void *callback_data;
    char *tokbuf;
    char *key1;              // e.g., "pin"
    char *key2;              // e.g., "mode" or "value"
};



    }
}


// ---------------
//  JSMN helpers
// ---------------
