Did you add .connect(...) like I said? Try:
.connect(...)
I2C1.setup({ scl: B6, sda: B7 }); var ads = require("https://gist.githubusercontent.com/gfwilliams/da8f09f91c8d0011cbae/raw/5a9e01ce6187f0243f4944b57c0bc1d9f4658c1f/ADS1X15.js").connect(I2C1); ads.setGain(4096); setInterval(function(){ ads.getADC(3, function(val) { console.log("val:"+val+" v:"+(val*6.144/32768).toFixed(3) + "v"); }); },3000);
@Gordon 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.
Did you add
.connect(...)
like I said? Try: