You are reading a single comment by @billsalt and its replies. Click here to read the full conversation.
  • @Gordon and @allObjects thanks for your assistance and advice. I tried the inline C (below) and had almost identical behavior. The 8uS pulse width just is not working. I'll take a look at the PPI function, but my guess is at this point it would be more reliable to go directly to nRF native coding.

    var c = E.compiledC(`
    // void press(bool)
    // int get()
    volatile int data;
    void press(bool state){
    int get() {
     int r = data;
     data = 0;
     return r;
    setWatch(, D16, {repeat: true, edge:'both', irq: true});
    console.log("watch set");

Avatar for billsalt @billsalt started