Pressure Sensor
-
@hek when I run the pressure sensor on arduino mini I just get rubbish on the serial monitor why will this be the case? When I compile the sketch it gives me a warning about low memory and this can cause stability problems. However the sketch still compiles. Do you think this will be the problem?
If I run the example Adafruit_BMP085 sketch the sensor do work.
-
@hek thanks for that it work. Where do I put my local barometric pressure into the sketch?
-
@Francois said:
Where do I put my local barometric pressure into the sketch?
To get altitude or what do you mean?
-
Regarding the low memory warning - at the time of the compile, sometimes the compiler does not know exactly how much memory will be needed by the program when it runs, as it doesn't know how deeply you may nest function calls or how much heap memory your code or the libraries you use may request. But if there's not much memory left for heap and stack, it will warn your about that even if it still compiles.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login