• I write from memory - a possible error in the syntax:
    //wiegand.c
    /*JSON{
    "type" : "staticmethod",
    "class" : "wiegand",
    "name" : "ReadD0",
    "generate" : "jswrap_ReadD0"
    } */

    void jswrap_ReadD0{
    / /do
    }

    setWatch(function(e) { wiegand.ReadD0; }, E2, { repeat:true, edge:'falling', irq : true});
    setWatch(wiegand.ReadD0, E2, { repeat:true, edge:'falling', irq : true});

    Espruino write:".. not native function .."
    please tell me the reason?

About

Avatar for MaksR @MaksR started