Hey all, I was trying to load the module for the MPL115A2 bari pressure sensor, to no avail. I keep getting an error saying:
Uncaught Error: Field or method "getData" does not already exist, and can't create it on undefined
I also have the model MPL3115A2, the more accurate version (I am building a digital weather station) so I was wondering if the module needed tweaking?
I tried replacing all the modules instances of 'MPL115A2' with 'MPL3115A2', but this .getData error is in the way of knowing whether she'll work.
Thanks for the help!
@scottKing 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.
Hey all, I was trying to load the module for the MPL115A2 bari pressure sensor, to no avail. I keep getting an error saying:
Uncaught Error: Field or method "getData" does not already exist, and can't create it on undefined
I also have the model MPL3115A2, the more accurate version (I am building a digital weather station) so I was wondering if the module needed tweaking?
I tried replacing all the modules instances of 'MPL115A2' with 'MPL3115A2', but this .getData error is in the way of knowing whether she'll work.
Thanks for the help!