• Thanks! just found a small bug in this (CONFIG. was missing in some lines). I actually put a gist here.

    And you can use it like:

    var ads = require("https://gist.githubusercontent.com/gfwilliams/da8f09f91c8d0011cbae/raw/5a9e01ce6187f0243f4944b57c0bc1d9f4658c1f/ADS1X15.js").connect(I2C1);
    
About

Avatar for Gordon @Gordon started