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.