You are reading a single comment by @n00b and its replies. Click here to read the full conversation.
  • Thanks for the reply @allObjects - So I did a quick test, hooked up via I2C and instantiated as "port". Tried:

    setWatch(function(){print("test")},port.A0,{repeat:true,edge:'both'});
    

    Got an error:

    ERROR: Invalid pin
    

    I suspect that the virtual pin is not compatible with the Pin() object the setWatch function expects...

    Or, did you meant hooking up setWatch differently?

About

Avatar for n00b @n00b started