This repository was archived by the owner on Feb 8, 2024. It is now read-only.
TinyMPU return strange values if used with delay #20
Closed
Description
I used the default "Angles Example" but added a delay of 1 sec at the end of the void loop().
function. The start Value seems to be ok (around +-2°) but after I started to change the pitch, it starts to return weird values. e.g. even though I put it back on the flat table, it still shows the max value and reduces it really slow (around 0.5° per delay). If I remove the delay, everything is responding immediately.
I also tried to put the printing into another function called after a delay by the loop, but the error is still the same.
I've experienced this bug both on my ESP32 and Arduino UNO (maybe on other boards to but I have only these).
Else it's a great library.
Metadata
Metadata
Assignees
Labels
No labels