• Thank you @Gordon. I tried to implement this feature according to your recommendation and made a pull request here: https://github.com/espruino/EspruinoDocs­/pull/665

    However, when testing, I got this error

    Uncaught Error: Function "connect" not found!
     at line 96 col 26 in ADS1X15
    function ADS1X15(i2c,opts={part:"ads1015"}) {
                             ^
     at line 198 col 30
        ads = require("ADS1X15").connect(i2c,{part:"ad­s1115"});
                                 ^
    in function "onInit" called from line 212 col 8
    onInit();
    

    It is most probably a very noob, basic javascript error. Could you help me figure out what's going wrong with the way I made the change?

About