• Thanks for figuring that out!

    Is everything else basically the same though? So as far as I can see the ADS1015 would run at 1600 samples/second by default while the ADS1115 is only 128 (which was the default in both cases) - but everything should still work ok?

    It's frustrating not having an I2C WHOAMI register! I thought pretty much every device had them now.

    I'd have said duplicating everything just for that might be overkill - what about extending the .connect function with an options object:

    var ads = require("ADS1X15").connect(I2C1, { part:"ads1115"});

    So then anyone using this already would have it work fine, but it could easily support the ADS1115


Avatar for Gordon @Gordon started