MPU6050 extracting a Max single value and writing to display

I am trying to code my Arduino to read from the Zed gyroscope axis of a MPU6050 after receiving an input above a baseline threshold of 5 deg./s. I would like the sensor to read for a duration of 1 milli and store those values. I then want to extract from that reading the maximum positive integer and write that to a seven segment display for a duration of 5 secs. After which, I need everything to reset and the display to read a default value of 00.

So far I can read the Zed axis through I2C at a sensitivity of 2000 deg./s. and write a generic number to the display if the reading is above 5 deg./s.
Beyond this I am having trouble. I am not sure if the libraries that I am using are helping me or hindering me for achieving my goal.

Thanks in advance for the help!

For informed help, please read and follow the directions in the How to use this forum post.

Post the code, using code tags, and point out the parts that are giving you trouble.

For anyone who has a decent experience in coding or with the MPU6050 I would think that what I am asking is pretty straight forward. I do not have the code that I am requesting assistance with and the code that I do have does not function to the end that I need it too. So sharing that would be pointless.

If you have the knowledge to help,I welcome it. Otherwise, I do not see the need for your post and your silence is worth more than your input.

Thank you.

I remember my first posts in here, I couldn't understand why people can not read my thought directly over the seas...

Well, don't waste time with that attitude, show what you have and somebody might show you the direction.
:slight_smile:

Cheers,
Kari

I do not have the code that I am requesting assistance with and the code that I do have does not function to the end that I need it too.

That is a quandary, but easily solved. Post on the Gigs and Collaborations forum section (and be prepared to pay for the help), or follow the forum rules and learn to program as you progress.