You are reading a single comment by @LawrenceGrif and its replies. Click here to read the full conversation.
  • What does repeat: true do? repeat after debounce has expired?

    setWatch(function(e) {....}, B10, { repeat: true, edge: 'both', debounce: 200 });
    

    I'm driving a relay via a FET with protection diode from Pico which energises when I run save() from the IDE or from power-on. Not what I want or expected

    // main sort of ..
    pinMode(B15,'output'); 
    digitalWrite(B15,0);
    I get an odd voltage about  2.43v from B15
    

    To fix it I add pinMode def to

    function onInit(){
      pinMode(B15,'output'); 
    }
    

    What am I missing?

About