Skip to content
Discussion options

You must be logged in to vote

Hi, thanks for the question. I have no experience with this sensor. However, have you tried using an example from an Arduino sketch library such as the BlueRobotics MS5837 Library?
This example contains a 1-second delay between reads, so I suggest trying to shorten this delay and see the fastest response you can get. This will eliminate Telemetrix from the equation and provide a good baseline for the speed of a read.

When confronted with having to deal with globals, I typically restructure my code as a class to avoid the whole global mess. You may still choose to use a procedural model with the global, but what I would do is remove the 200 ms. delay. Create D1 as a global value, initializ…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ben-jcp
Comment options

@MrYsLab
Comment options

Answer selected by MrYsLab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants