You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • first test with the NRF52LL module

    var ll = require("NRF52LL");
    
    var saadc = ll.saadc({
      channels : [ { // channel 0
        pin:D4,
        gain:1/4,
        tacq:40,
        refvdd:true,
      } ]
    });
    
    setInterval(()=>{print(saadc.sample());}­,1E3);
    
    /* output
    [ 4 ]
    [ 12 ]
    [ 65528 ]
    [ 8 ]
    [ 4 ]
    [ 65524 ]
    [ 40 ]
    [ 0 ]
    [ 12 ]
    [ 12 ]
    [ 20 ]
    [ 16 ]
    [ 8 ]
    */
    

    Is the result a 16 bit signed integer and presenting a -32767 to +32767 digital value ?

About

Avatar for MaBe @MaBe started