• Thanks for the input! Really weird, tried almost exactly what you recommend before posting, but no luck.
    A screenshot is attached of the code + the REPL result to show exactly what I tried to do.
    But no luck. Looks like the require-d BME680 is just an empty object (look at the print-ed result and the autocomplete result just at the top of the highlight.

    I did import the DHT module only to verify that require does work. And it does work: dht.connect is indeed a function. but the BME680 is empty???


    1 Attachment

    • 2018-12-28 14_01_03-Espruino Web IDE.png
About

Avatar for AkosLukacs @AkosLukacs started