Most recent activity
-
-
Cool - To speed things up you can add
"compiled";to your random value generator function like explained here JavaScript Compilation -
There is no module for this ic available.
Check this page for existing modules:
http://www.espruino.com/Modules
There are also some gpio extender available which you could use as a good starting point to build a SX1509 module.
-
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 ?
-
-
-
No matter what device you use, with Espruino you always have a lot of fun.
Espruino Rocks 🤟
Special thanks goes to Gordon.