You are reading a single comment by @afrid and its replies. Click here to read the full conversation.
  • Hi @Gordon,
    i need help on software debouncing a pin for setwatch.

    for ex, i have 2 pucks, in one puck i will have this code :-
    setWatch(senderase,D1, { edge:"rising",debounce:50, repeat: true });

    i want to debounce this pin in code in another puck, i will use NRF uart to send command.
    here is another puck code:-

    function send(cmd){
    NRF.requestDevice({ filters: [{ namePrefix: 'Puck.js' }] }).then(function(device) {
      require("ble_simple_uart").write(device,­ cmd, function() {
    print('Done!');
      });
    });
    }
    

    i tried with digitalpulse,but no use
    how to debounce that pin in first puck , any api is there?

    please help me to solve this issue

About

Avatar for afrid @afrid started