mpl - 3 - 115a2 #777
Unanswered
espruino-discuss2
asked this question in
Interfacing
Replies: 2 comments
-
Posted at 2015-08-02 by DrAzzy What's your code look like? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2015-08-02 by DrAzzy I don't see how you can end up with that error if connect() doesn't give an error (if connect() errors, it won't correctly create an MPL115A2 object - and in that case those errors are the ones that matter) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2015-08-02 by scottKing
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!
Beta Was this translation helpful? Give feedback.
All reactions