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 ?
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
first test with the NRF52LL module
Is the result a 16 bit signed integer and presenting a -32767 to +32767 digital value ?